summaryrefslogtreecommitdiffstats
path: root/src/rag
AgeCommit message (Collapse)AuthorLines
2024-06-13feat: add rag and bot related cli options (#595)sigoden-0/+3
2024-06-12feat: rag splitter supports languages (#593)sigoden-80/+287
2024-06-12refactor: load pdf/docx files (#592)sigoden-33/+40
2024-06-12refactor: rag default_chunk_size (#588)sigoden-12/+25
2024-06-11feat: support bot (#579)sigoden-8/+11
* feat: support bots * refactor with RoleLike * improve exiting session * make bot works with rag * refactor repl assert state * add bot banner * repl complete bots according bots.txt * fix on windows * remove threadpool executing function callings * adjust repl left_prompt * move bot config to global config.yaml * `.bot` throw err if funciton callings is not configured
2024-06-06refactor: config refinement (#570)sigoden-3/+2
2024-06-05feat: support RAG (#560)sigoden-0/+1135
* feat: support RAG * support more embeddings models and implement concurrent embedding api * show the progress of addings paths * ignore embedding context when saving message * embedding model max_chunk_size => default_chunk_size * support pdf and pandoc formats (docx, epub, ipynb)