AI Skill Hub 推荐使用:增强文本生成 是一款优质的AI工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。
增强文本生成 是一款基于 Go 开发的开源工具,专注于 ai、api、postgres 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
增强文本生成 是一款基于 Go 开发的开源工具,专注于 ai、api、postgres 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:go install(推荐) go install github.com/pgEdge/pgedge-rag-server@latest # 方式二:从源码编译 git clone https://github.com/pgEdge/pgedge-rag-server cd pgedge-rag-server go build -o pgedge-rag-server . # 方式三:下载预编译二进制 # 访问 Releases 页面下载对应平台二进制文件 # https://github.com/pgEdge/pgedge-rag-server/releases
# 查看帮助 pgedge-rag-server --help # 基本运行 pgedge-rag-server [options] <input> # 详细使用说明请查阅文档 # https://github.com/pgEdge/pgedge-rag-server
# pgedge-rag-server 配置说明 # 查看配置选项 pgedge-rag-server --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export PGEDGE_RAG_SERVER_CONFIG="/path/to/config.yml"
The pgEdge RAG Server is a simple API server for performing Retrieval-Augmented Generation (RAG) of text based on content from a PostgreSQL database using pgvector.
Documentation for the RAG Server is available online at: https://docs.pgedge.com/pgedge-rag-server/
The RAG Server features:
- Multiple RAG pipelines with configurable embedding and LLM providers - Hybrid search combining vector similarity and BM25 text matching - Support for OpenAI, Anthropic, Google Gemini, Voyage, and Ollama LLM providers - Support for OpenAI-compatible local LLM providers (LM Studio, Docker Model Runner, EXO) - Configurable request headers for API gateways and proxy servers - Token budget management to control LLM costs - Optional streaming responses via Server-Sent Events - TLS/HTTPS support
Before building the binary, clone the RAG server repository and navigate into the root of the repo:
git clone https://github.com/pgedge/pgedge-rag-server.git
cd pgedge-rag-server
Build the pgEdge RAG server binary with the command; the binary is created in the bin directory:
make build
After installation, verify the tool is working:
pgedge-rag-server version
You can also access online help after building RAG server:
pgedge-rag-server help
To use the pgEdge RAG Server, you must:
Before installing pgEdge RAG Server, you should install or obtain:
The online documentation contains detailed information about using the API, and allows you to try the API in a browser.
To List Available Pipelines
curl http://localhost:8080/v1/pipelines
To Query a Pipeline
curl -X POST http://localhost:8080/v1/pipelines/my-docs \
-H "Content-Type: application/json" \
-d '{"query": "How do I configure replication?"}'
To Query with Streaming
curl -X POST http://localhost:8080/v1/pipelines/my-docs \
-H "Content-Type: application/json" \
-d '{"query": "How do I configure replication?", "stream": true}'
Create a configuration file that specifies server connection details and other properties; (see the online documentation for complete details. The default name of the file is pgedge-rag-server.yaml; when invoked, the server searches for configuration file in:
/etc/pgedge/pgedge-rag-server.yamlpgedge-rag-server binary.You can optionally use the -config option on the command line to specify the complete path to a custom location for the configuration file.
The following sample demonstrates a minimal configuration:
server:
listen_address: "0.0.0.0"
port: 8080
pipelines:
- name: "my-docs"
description: "Search my documentation"
database:
host: "localhost"
port: 5432
database: "mydb"
tables:
- table: "documents"
text_column: "content"
vector_column: "embedding"
embedding_llm:
provider: "openai"
model: "text-embedding-3-small"
rag_llm:
provider: "anthropic"
model: "claude-sonnet-4-20250514"
简单易用,但功能较单一
该工具使用 PostgreSQL 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 PostgreSQL — 请查阅原始协议条款了解具体使用限制。
总体来看,增强文本生成 是一款质量良好的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | pgedge-rag-server |
| 原始描述 | 开源AI工具:A simple API server for performing Retrieval-Augmented Generation (RAG) of text 。⭐42 · Go |
| Topics | aiapipostgresrag |
| GitHub | https://github.com/pgEdge/pgedge-rag-server |
| License | PostgreSQL |
| 语言 | Go |
收录时间:2026-05-28 · 更新时间:2026-05-30 · License:PostgreSQL · AI Skill Hub 不对第三方内容的准确性作法律背书。