Skip to content

Commit

Permalink
Merge pull request #115 from digitalfabrik/feature/remove-sources
Browse files Browse the repository at this point in the history
Remove sources in answer response
  • Loading branch information
svenseeberg authored Jan 24, 2025
2 parents d24d2ff + 36c7231 commit 3fae455
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion integreat_chat/chatanswers/utils/rag_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def as_dict(self):
"rag_language": self.request.use_language,
"rag_message": self.request.translated_message,
"rag_sources": [document.chunk_source_path for document in self.documents],
"sources": [], # legacy hack to not break the Integreat CMS. Can be removed later.
"details": [{
"source": document.chunk_source_path,
"score": document.score,
Expand Down

0 comments on commit 3fae455

Please sign in to comment.