mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
928 B
928 B
SQL with LLaMA2
This template allows you to chat with a SQL database in natural language using LLaMA2.
It is configured to use Replicate.
But, it can be adapted to any API that support LLaMA2, including Fireworks and others.
See related templates sql-ollama
and sql-llamacpp
for private, local chat with SQL.
Set up SQL DB
This template includes an example DB of 2023 NBA rosters.
You can see instructions to build this DB here.
LLM
This template will use a Replicate
hosted version of LLaMA2.
Be sure that REPLICATE_API_TOKEN
is set in your environment.