Skip to content

Commit 7aaefb4

Browse files
committed
Drop OpenAI answer strategies from Question model
We've killed off the Heroku app that was using the structured answer strategy so these can be removed. I can't imagine anyone has any in their local db considering we've not used this integration in forever, but we could consider adding a migration to delete any records with these strategies if we wanted to be sure.
1 parent 3daabdf commit 7aaefb4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

app/models/question.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
class Question < ApplicationRecord
22
enum :answer_strategy,
33
{
4-
open_ai_rag_completion: "open_ai_rag_completion", # legacy strategy - no longer used
5-
openai_structured_answer: "openai_structured_answer", # legacy strategy - no longer used
64
claude_structured_answer: "claude_structured_answer",
75
non_llm_answer: "non_llm_answer", # only used during load testing, but can be present on records created during testing
86
},

0 commit comments

Comments
 (0)