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")
|
if name.start_with?("instructor")
|
||||||
instructed_input = [
|
instructed_input = [
|
||||||
SiteSetting.ai_embeddings_semantic_related_instruction,
|
[SiteSetting.ai_embeddings_semantic_related_instruction, truncated_input],
|
||||||
truncated_input,
|
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue