diff --git a/app/managers/weaviate_manager.py b/app/managers/weaviate_manager.py index 81eacbf..b3daab3 100644 --- a/app/managers/weaviate_manager.py +++ b/app/managers/weaviate_manager.py @@ -258,7 +258,7 @@ def get_relevant_context(self, question: str, study_program: str, language: str, if doc['link']: sorted_context_with_links.append(f'Link: {doc["link"]}\nContent: {doc["content"]}') else: - sorted_context_with_links.append(f'Link: -\Content: {doc["content"]}') + sorted_context_with_links.append(f'Link: -\nContent: {doc["content"]}') break context = "\n-----\n".join(sorted_context_with_links)