joachim-danswer
2683207a24
Expanded basic search ( #4517 )
...
* initial working version
* ranking profile
* modification for keyword/instruction retrieval
* mypy fixes
* EL comments
* added env var (True for now)
* flipped default to False
* mypy & final EL/CW comments + import issue
2025-04-13 23:13:01 -07:00
rkuo-danswer
24184024bb
Bugfix/dependency updates ( #4482 )
...
* bump fastapi and starlette
* bumping llama index and nltk and associated deps
* bump to fix python-multipart
* bump aiohttp
* update package lock for examples/widget
* bump black
* sentencesplitter has changed namespaces
* fix reorder import check, fix missing passlib
* update package-lock.json
* black formatter updated
* reformatted again
* change to black compatible reorder
* change to black compatible reorder-python-imports fork
* fix pytest dependency
* black format again
* we don't need cdk.txt. update packages to be consistent across all packages
---------
Co-authored-by: Richard Kuo (Onyx) <rkuo@onyx.app >
Co-authored-by: Richard Kuo <rkuo@rkuo.com >
2025-04-10 08:23:02 +00:00
pablonyx
b02af9b280
Div Con ( #4442 )
...
* base setup
* Improvements + time boxing
* time box fix
* mypy fix
* EL Comments
* CW comments
* date awareness
---------
Co-authored-by: joachim-danswer <joachim@danswer.ai >
2025-04-04 00:52:00 +00:00
pablonyx
3a3b2a2f8d
add user files ( #4152 )
2025-04-01 16:19:44 -07:00
evan-danswer
0c29743538
use max_tokens to do better rate limit handling ( #4224 )
...
* use max_tokens to do better rate limit handling
* fix unti tests
* address greptile comment, thanks greptile
2025-03-06 18:12:05 -08:00
evan-danswer
b7da91e3ae
improved basic search latency ( #4186 )
...
* improved basic search latency
* address PR comments + minor cleanup
2025-03-06 22:22:59 +00:00
evan-danswer
9324f426c0
added timeouts for agent llm calls ( #4019 )
...
* added timeouts for agent llm calls
* timing suggestions in agent config
* improved timeout that actually exits early
* added new global timeout and connection timeout distinction
* fixed error raising bug and made entity extraction recoverable
* warnings and refactor
* mypy
---------
Co-authored-by: joachim-danswer <joachim@danswer.ai >
2025-02-17 07:02:19 +00:00
joachim-danswer
6687d5d499
major Agent Search Updates ( #3994 )
2025-02-14 19:40:21 +00:00
Yuhong Sun
1a7aca06b9
Fix Agent Slowness ( #3979 )
2025-02-13 15:54:34 -08:00
pablonyx
3bc4e0d12f
Very minor robustification ( #3926 )
...
* very minor robustification
* robust
2025-02-06 19:55:38 +00:00
pablodanswer
f137fc78a6
various UX improvements
2025-02-05 21:12:55 -08:00
joachim-danswer
3ce8923086
fix for citation update
2025-02-03 20:10:51 -08:00
joachim-danswer
eb227c0acc
nit update
2025-02-03 20:10:51 -08:00
joachim-danswer
25a57e2292
add title and meta-data to doc
2025-02-03 20:10:51 -08:00
Yuhong Sun
506a9f1b94
Yuhong
2025-02-03 20:10:51 -08:00
Yuhong Sun
a067b32467
Partial Prompt Updates ( #3880 )
2025-02-03 20:10:51 -08:00
joachim-danswer
e23dd0a3fa
renames + fix of refined answer generation prompt
2025-02-03 20:10:51 -08:00
Evan Lohn
71304e4228
always persist in agent search
2025-02-03 20:10:51 -08:00
Evan Lohn
2adeaaeded
loading object into model instead of json
2025-02-03 20:10:51 -08:00
Evan Lohn
a96728ff4d
prompt piece optimizations
2025-02-03 20:10:51 -08:00
joachim-danswer
b90e0834a5
major renaming
2025-02-03 20:10:51 -08:00
Evan Lohn
5a95a5c9fd
large number of PR comments addressed
2025-02-03 20:10:51 -08:00
Evan Lohn
118e8afbef
reworked config to have logical structure
2025-02-03 20:10:51 -08:00
joachim-danswer
d5661baf98
history summary fix
...
- adjusted prompt
- adjusted citation removal
- length cutoff by words, not characters
2025-02-03 20:10:51 -08:00
joachim-danswer
95fcc0019c
history summary update
2025-02-03 20:10:51 -08:00
joachim-danswer
0ccd83e809
deep_search_a and agent_a_config renaming
2025-02-03 20:10:51 -08:00
joachim-danswer
732861a940
rename of documents to verified_reranked_documents
2025-02-03 20:10:51 -08:00
joachim-danswer
1a2760edee
improved logging through agent_state plus some default fixes
2025-02-03 20:10:51 -08:00
Evan Lohn
385b344a43
addressed TODOs
2025-02-03 20:10:51 -08:00
Evan Lohn
a340529de3
sync streaming impl
2025-02-03 20:10:51 -08:00
joachim-danswer
3ca4d532b4
renamed directories, prompts, and small citation fix
2025-02-03 20:10:50 -08:00
Evan Lohn
bd3b1943c4
WIP PR comments
2025-02-03 20:10:50 -08:00
Evan Lohn
6c7f8eaefb
first pass at dead code deletion
2025-02-03 20:10:50 -08:00
joachim-danswer
7e98936c58
Enrichment prompts, prompt improvements, dispatch logging & reinsert empty tool response
2025-02-03 20:10:50 -08:00
joachim-danswer
91b929d466
graph directory renamings
2025-02-03 20:10:50 -08:00
joachim-danswer
6bef5ca7a4
persona_prompt improvements
2025-02-03 20:10:50 -08:00
joachim-danswer
18d92559b5
application of content limitation ion refined answer as well
2025-02-03 20:10:50 -08:00
joachim-danswer
f2aeeb7b3c
Optimizations: docs for context & history
...
- summarize history if long
- introduced cited_docs from SQ as those must be provided to answer generations
- limit number of docs
TODO: same for refined flow
2025-02-03 20:10:50 -08:00
joachim-danswer
9e9bd440f4
updated answer_comparison prompt + small cleanup
2025-02-03 20:10:50 -08:00
joachim-danswer
8c9577aa95
refined search + question answering as sub-graphs
2025-02-03 20:10:50 -08:00
joachim-danswer
3b3b0c8a87
Addressing EL's comments
...
- created vars for a couple of agent settings
- moved agent configs
- created a search function
2025-02-03 20:10:50 -08:00
joachim-danswer
aa8cb44a33
taking out Extraction for now
2025-02-03 20:10:50 -08:00
joachim-danswer
fc60fd0322
earlier entity extraction & sharper generation prompts
2025-02-03 20:10:50 -08:00
Evan Lohn
2d8486bac4
stop infos when done streaming answers
2025-02-03 20:10:50 -08:00
Evan Lohn
ddbfc65ad0
implemented top-level tool calling + force search
2025-02-03 20:10:50 -08:00
Evan Lohn
982040c792
WIP, but working basic search using initial tool choice node
2025-02-03 20:10:50 -08:00
joachim-danswer
e5fa411092
EL comments addressed
2025-02-03 20:10:50 -08:00
joachim-danswer
1ced8924b3
loser verification prompt
2025-02-03 20:10:50 -08:00
joachim-danswer
3b298e19bc
change of sub-question answer if no docs recovered
2025-02-03 20:10:50 -08:00
joachim-danswer
71eafe04a8
various fixes from Yuhong's list
2025-02-03 20:10:50 -08:00