https://github.com/typv/ocs-ai
This repository serves as a practical guide for newcomers to AI agents, offering clear, hands-on examples of core concepts like Indexing, Embedding, RAG, and advanced retrieval techniques such as RAG-Fusion, RAG Fallback, HRAG, Reranking...
https://github.com/typv/ocs-ai
ai-agent ai-research fastapi indexing langchain langraph python rag rag-chatbot
Last synced: 5 months ago
JSON representation
This repository serves as a practical guide for newcomers to AI agents, offering clear, hands-on examples of core concepts like Indexing, Embedding, RAG, and advanced retrieval techniques such as RAG-Fusion, RAG Fallback, HRAG, Reranking...
- Host: GitHub
- URL: https://github.com/typv/ocs-ai
- Owner: typv
- Created: 2025-12-16T09:22:25.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-12-18T08:15:39.000Z (5 months ago)
- Last Synced: 2025-12-21T13:43:45.109Z (5 months ago)
- Topics: ai-agent, ai-research, fastapi, indexing, langchain, langraph, python, rag, rag-chatbot
- Language: Python
- Homepage:
- Size: 4.1 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OcsAI
This repository serves as a practical guide for newcomers to AI agents, offering clear, hands-on examples of core concepts like Indexing, Embedding, RAG, and advanced retrieval techniques such as RAG-Fusion and RAG Fallback, ...
# Getting Started
## Server Requirements
- Python >= 3.12
- chromadb >= 1.3
- fastapi >= 0.115.12
- langchain >= 1.1.0
## Installing preparation
1. Default Application $BASEPATH : `/home/app.user/ocs-ai`
2. Copy the .env file from .env.example under $BASEPATH, fill your config in .env file instead of example config
# Build with Docker
## Setup docker
```bash
docker compose up -d --build
```
## Run dev mode
```bash
docker compose exec app poetry run poe dev
# Or:
make dev
```
## Local url
Chat: http://localhost:28000
Indexing: http://localhost:28000/indexing.html
## 📺 Demo
