langchain/templates/sql-ollama/README.md
2023-10-27 16:34:37 -07:00

660 B

SQL with LLaMA2 using llama.cpp

This template allows you to chat with a SQL database in natural language in private, using an open source LLM.

Set up Ollama

Follow instructions here to download Ollama.

Also follow instructions to download your LLM of interest:

  • This template uses llama2:13b-chat
  • But you can pick from many LLMs here

Set up SQL DB

This template includes an example DB of 2023 NBA rosters.

You can see instructions to build this DB here.