Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 1.53 KB

README.md

File metadata and controls

23 lines (21 loc) · 1.53 KB

Function Calling demo

What does this application wants to demonstrate

This application is built as an extension to this

  1. Data retrieval: With both RAG and DB search (via API created from Flask)
  2. Routing: Use Function Call for autonomous tool choice & invocation
  3. UI Via Streamlit

Tech stack

Running this tool

  1. Create and activate a virtual environment, then pip install -r requirements.txt to install the required packages
  2. Spin up the API server with python db_api.py
  3. If you are seeking for an initial tutorial for the concept behind, run rag_plus_db_search.ipynb. Or proceed to #3 directly
  4. Run the streamlit application with the below
export OPENROUTER_API_KEY = '@REPLACE WITH YOUR API KEY'
cd streamlit
streamlit run app.py