Use correct API signature for instructor embeddings (#62)
This commit is contained in:
parent
3c9513e754
commit
2ed1f874c2
|
@ -71,8 +71,7 @@ module DiscourseAi
|
|||
|
||||
if name.start_with?("instructor")
|
||||
instructed_input = [
|
||||
SiteSetting.ai_embeddings_semantic_related_instruction,
|
||||
truncated_input,
|
||||
[SiteSetting.ai_embeddings_semantic_related_instruction, truncated_input],
|
||||
]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue