Use correct API signature for instructor embeddings (#62)

This commit is contained in:
Rafael dos Santos Silva 2023-05-15 17:18:11 -03:00 committed by GitHub
parent 3c9513e754
commit 2ed1f874c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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