RAG Changes
Store RAG in YAML format instead of bin format
We used to store RAG in bin format at <aichat-config-dir>/rags/<name>.bin
. However, the bin
format has various drawbacks, so we are now using the yaml
format to store RAG.
All RAGs in bin format will be ignored. Please recreate them in YAML format.
Support for RAG-scoped top_k
and reranker_model
options
Now, users can set the top_k
and reranker_model
parameters individually for each RAG.
.set rag_top_k 5
.set rag_reranker_model cohere:rerank-english-v3.0
New REPL Commands
.delete Delete roles/sessions/RAGs/agents-config
New Features
- add config
serve_addr
& env $SERVE_ADDR for specifying serve addr (#839) - better html to markdown converter (#840)
- add role %create-prompt% (#843)
- tolerate failure to load some rag files (#846)
- support RAG-scoped rag_top_k and rag_reranker_model (#847)
- save rag in YAML instead of bin (#848)
- proxy chat-completions api with tools support (#850)
- proxy rerank api (#851)
- add
.delete
repl command (#862) - specify shell via $AICHAT_SHELL (#866)
Bug Fixes
- render stream failed due to read cursor position timeout (#835)