mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-31 10:23:18 +00:00
templates: fix sql-research-assistant (#14921)
This commit is contained in:
@@ -4,6 +4,12 @@ This package does research over a SQL database
|
||||
|
||||
## Usage
|
||||
|
||||
This package relies on multiple models, which have the following dependencies:
|
||||
|
||||
- OpenAI: set the `OPENAI_API_KEY` environment variables
|
||||
- Ollama: [install and run Ollama](https://python.langchain.com/docs/integrations/chat/ollama)
|
||||
- llama2 (on Ollama): `ollama pull llama2` (otherwise you will get 404 errors from Ollama)
|
||||
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
|
1902
templates/sql-research-assistant/poetry.lock
generated
Normal file
1902
templates/sql-research-assistant/poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
[tool.poetry]
|
||||
name = "sql-research-assistant"
|
||||
version = "0.0.1"
|
||||
description = ""
|
||||
description = "Uses GPT Researcher as a research agent over SQL"
|
||||
authors = []
|
||||
readme = "README.md"
|
||||
|
||||
@@ -9,9 +9,11 @@ readme = "README.md"
|
||||
python = ">=3.8.1,<4.0"
|
||||
langchain = ">=0.0.313, <0.1"
|
||||
openai = "^0.28.1"
|
||||
bs4 = "^0.0.1"
|
||||
duckduckgo-search = "^4.1.0"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
langchain-cli = ">=0.0.4"
|
||||
langchain-cli = ">=0.0.15"
|
||||
fastapi = "^0.104.0"
|
||||
sse-starlette = "^1.6.5"
|
||||
|
||||
@@ -19,6 +21,12 @@ sse-starlette = "^1.6.5"
|
||||
export_module = "sql_research_assistant"
|
||||
export_attr = "chain"
|
||||
|
||||
[tool.templates-hub]
|
||||
use-case = "research"
|
||||
author = "LangChain"
|
||||
integrations = ["Ollama", "OpenAI"]
|
||||
tags = ["data", "agents", "sql", "local-models"]
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
Reference in New Issue
Block a user