Skip to content
/ answerbot Public

answering questions using LLMs, search (RAG) and other tools - example code

License

Notifications You must be signed in to change notification settings

zby/answerbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

answerbot

Agentic RAG system for question answering.

Work in progress.

Installation

Copy .env_ to .env and fill in your OPENAI_API_KEY. You can also set the environment variable in the shell.

Install the requirements with pip install -r requirements.txt

Install the package. I am installing it in an editable form: pip install -e .

Run tests: pytest tests/

Scripts

scripts/answer.py

Runs a question and answer session. Edit the file to change the question.

Compatibility

Uses LiteLLM. I use it with OpenAI GPTs and Anthropic Claude. Llama 3 via Groq had too many errors around tool use - I need to test 3.1 and/or other providers of maybe finetuned models.

Mutable.ai Auto Wiki

Thanks to Mutable.ai auto wiki we have an auto generated wiki for this repo: https://wiki.mutable.ai/zby/answerbot

Mutable.ai Auto Wiki

About

answering questions using LLMs, search (RAG) and other tools - example code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •