Uma Ferramenta de Consulta de Bases de Dados PostgreSQL usando Linguagem Natural
Project description
MCP Postgres SPS
Agente inteligente que responde perguntas em linguagem natural sobre o banco PostgreSQL usando Django e LangChain.
🔧 Instalação
git clone https://seurepo.com/mcp_postgres_sps.git
cd mcp_postgres_sps
docker build -t mcp-postgres .
docker run -p 8000:8000 mcp-postgres
Como usar Faça requisições POST para:
css Copiar Editar POST /consulta
Body: { "pergunta": "quantos pedidos tivemos no mês de julho?", "slug": "empresa_xyz" }
mcp_postgres_sps/ ├── mcp_postgres_sps/ │ ├── init.py │ ├── consulta_tool.py │ ├── filtros_naturais.py │ ├── model_registry.py │ ├── model_tool_factory.py │ ├── relacionamento_registry.py │ └── server.py ├── main.py ├── Dockerfile ├── requirements.txt ├── README.md
#\x00 \x00m\x00c\x00p\x00_\x00p\x00o\x00s\x00t\x00g\x00r\x00e\x00s\x00 \x00 \x00
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_postgres_sps-1.0.1.tar.gz.
File metadata
- Download URL: mcp_postgres_sps-1.0.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1150a5482859d887b4e2a7dd968292ab5e7f2f4f844a640d6d4938689123f233
|
|
| MD5 |
121eb935945d0271328b773896176d80
|
|
| BLAKE2b-256 |
5dbdadac6eb25914cc52b4aa7c1492c1949774e6d537cecd50a3108188a62794
|
File details
Details for the file mcp_postgres_sps-1.0.1-py3-none-any.whl.
File metadata
- Download URL: mcp_postgres_sps-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd99a93dfb7a1c3f70ab7b8d7b1a8d32e6e8cc200c6778d3ba9f455e78165f7f
|
|
| MD5 |
55e399a534334f53fc5f46d34f39f965
|
|
| BLAKE2b-256 |
231842ef274c526579bfdfc4e6cc687329f448545453aa3cabc2f10c0a8598ae
|