mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-12 14:34:50 +00:00
* DRAFT: Create AI Bot users dynamically and support custom LlmModels * Get user associated to llm_model * Track enabled bots with attribute * Don't store bot username. Minor touches to migrate default values in settings * Handle scenario where vLLM uses a SRV record * Made 3.5-turbo-16k the default version so we can remove hack
21 lines
554 B
Ruby
21 lines
554 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ChatMessageCustomPrompt < ActiveRecord::Base
|
|
# belongs_to chat message but going to avoid the cross dependency for now
|
|
end
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: chat_message_custom_prompts
|
|
#
|
|
# id :bigint not null, primary key
|
|
# message_id :bigint not null
|
|
# custom_prompt :json not null
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_chat_message_custom_prompts_on_message_id (message_id) UNIQUE
|
|
#
|