feat(ingestion): add Phase 1 database and application foundation
Add the scoped PostgreSQL/pgvector schema, independent ingestion settings and ports, embedding profile checks, and trusted administrator bootstrap. Include repository contracts and guidance, organized provider-free and PostgreSQL tests, deployment setup, and byte-preserving migration attributes. Validation: 163 tests passed; all 48 PostgreSQL cases passed with pgvector Python 0.5.0 and 0.3.6. No production schema or historical metadata was changed.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
For the new ingestion foundation (independent of prototype chat), see [setup and validation](docs/ingestion-foundation-setup.md). Only ingestion phase 1 is implemented; database acceptance must be verified on PostgreSQL/pgvector.
|
||||
|
||||
# 🤖 Technical Documentation Assistant (RAG Agent)
|
||||
|
||||
[](https://fastapi.tiangolo.com)
|
||||
@@ -5,7 +7,7 @@
|
||||
[](https://github.com/langchain-ai/langchain)
|
||||
[](https://www.trychroma.com/)
|
||||
[-blue.svg?style=flat-square)](https://github.com/qdrant/fastembed)
|
||||
[](https://www.python.org/)
|
||||
[](https://www.python.org/)
|
||||
[](LICENSE)
|
||||
|
||||
An intelligent, production-ready **Retrieval-Augmented Generation (RAG)** assistant built with **FastAPI**, **LangGraph**, **LangChain**, and **ChromaDB**. The assistant is specialized in indexing, searching, and reasoning over technical documentation to provide developers with accurate, source-grounded answers and production-ready code examples with zero hallucinations.
|
||||
@@ -132,7 +134,7 @@ rag-technical-docs-assistant/
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- **Python 3.10+** installed on your machine.
|
||||
- **Python 3.11+** installed on your machine.
|
||||
- An API key for an OpenAI-compatible provider (such as [OpenRouter](https://openrouter.ai/) or [OpenAI](https://platform.openai.com/)).
|
||||
|
||||
### Installation
|
||||
@@ -156,7 +158,7 @@ rag-technical-docs-assistant/
|
||||
|
||||
3. **Install dependencies:**
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
pip install -e ".[prototype]"
|
||||
```
|
||||
*(Or install the core packages: `fastapi uvicorn langgraph langchain langchain-openai langchain-chroma chromadb fastembed pydantic-settings`)*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user