Skip to content

yip-kl/llm_function_calling_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published