chat-with-your-data-solution-accelerator
chat-with-your-data-solution-accelerator copied to clipboard
feat: Remove LangChain from question answer tool
Required for #750
Purpose
- This PR removes LangChain from the Question Anwer Tool
- Changes the example user/assistant messages to system messages, as from the docs
- Updates unit and functional tests
Does this introduce a breaking change?
- [ ] Yes
- [x] No
How to Test
- Ask questions to LLM that require Question Answer Tool
Coverage Report •
File Stmts Miss Cover Missing code/backend/batch/utilities/helpers llm_helper.py 42 11 73% 40–41, 50, 61–62, 73, 86–87, 94, 113, 123 code/backend/batch/utilities/tools question_answer_tool.py 55 0 100% TOTAL 2427 672 72%
| Tests | Skipped | Failures | Errors | Time |
|---|---|---|---|---|
| 205 | 0 :zzz: | 0 :x: | 0 :fire: | 12.584s :stopwatch: |