ChatDocs is an AI-powered search tool for team documentation, enabling efficient retrieval and augmented generation of information using Retrieval-Augmented Generation (RAG).
This application leverages the power of RAG to perform semantic searches across team documentation. It uses OpenAI for generating embeddings and performing semantic searches.
- Frontend: React + Vite
- Backend: .NET 9.0
- Vector Database: Azure Cosmos DB
- Embeddings and Semantic Search: OpenAI
- Semantic Search: Perform advanced searches across documentation using AI-generated embeddings.
- Document Upload: Upload documents to be indexed and searched.
- Document Management: List and delete documents from the database.
- Node.js
- .NET 9.0 SDK
- Azure Cosmos DB account
- OpenAI API key
-
Clone the repository:
git clone https://github.com/your-repo/chatdocs.git cd chatdocs
-
Install frontend dependencies:
cd src/chatdocs-ui npm install
-
Install backend dependencies:
cd ../ChatDocsBackEnd dotnet restore
-
Frontend:
- Update the
.env.local
file in chatdocs-ui with your API base URL.
- Update the
-
Backend:
- Update the
appsettings.json
file in ChatDocsBackEnd with your Azure Cosmos DB and OpenAI API credentials.
- Update the
-
Start the backend:
cd src/ChatDocsBackEnd dotnet run
-
Start the frontend:
cd ../chatdocs-ui npm run dev
This project is licensed under the MIT License.