Repository navigation
multiple chat and message models? #957
|
is it possible to have multiple chat and method models, so that they can have different rails activerecord attributes like belongs_to, or Pundit Policies? Do I just create the following migrations: db/migrate/1234_create_llm_proposal_reviews.rb db/migrate/1234_create_llm_proposal_review_messages.rb db/migrate/1234_create_llm_justification_reviews.rb db/migrate/1234_create_llm_justification_review_messages.rb is there a generator for generating these (at least the messages, they have a lot of fields) |
Replies: 2 comments 1 reply
|
The install generator creates one application-owned chat/message pair and supports custom class names such as Generated by Copilot Triage using |
|
would making a single message model with a polymorphic belongs_to be possible? e.g. it can belong to either an LLMJustificationReview or LLMProposalReview? |
The install generator creates one application-owned chat/message pair and supports custom class names such as
chat:Conversation message:ChatMessagethe guide. For separate proposal and justification workflows, use oneacts_as_chatmodel with your own associations and policies, or create distinct chat classes that each declareacts_as_chat; the model registry remains RubyLLM-managed rather than an application model the guide.Generated by Copilot Triage using
gpt-5.6-luna; 56524 input / 601 output tokens this run; view run.