Skip to content

Commit

Permalink
Merge pull request #25 from ls1intum/integrate-kb-manager
Browse files Browse the repository at this point in the history
Fix parameter error
  • Loading branch information
ninori9 authored Jan 7, 2025
2 parents 1e5f9e2 + a01d884 commit 7bf4fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/managers/request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def handle_question(self, question: str, classification: str, language: str, org
study_program=classification,
language=language,
org_id=org_id)
sample_questions = self.weaviate_manager.get_relevant_sample_questions(question=question, language=language)
sample_questions = self.weaviate_manager.get_relevant_sample_questions(question=question, language=language, org_id=org_id)
sample_questions_formatted = self.prompt_manager.format_sample_questions(sample_questions, language)
messages = self.prompt_manager.create_messages(general_context, specific_context, sample_questions_formatted,
question, language, classification)
Expand Down

0 comments on commit 7bf4fa5

Please sign in to comment.