DonGuillotine / DonGuillotine/AT100DaysChallenge

Create Chat API Endpoint for RAG Implementation

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
core-feature enhancement
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Develop the main chat endpoint that will handle user queries using the RAG (Retrieval Augmented Generation) system.

Tasks:
- Create ChatMessage model to store chat history
- Implement `/api/chat/` endpoint for handling chat requests
- Develop vector similarity search using Pinecone
- Integrate Cohere?/Deepseek? for generating responses
- Implement prompt engineering for better responses
- Add context window management
- Implement error handling and rate limiting
- Add response streaming capability

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing Django/DRF API structure and any current model, embedding, or vector-search code; the payload names no files or tests. Define the ChatMessage shape and endpoint contract, then verify retrieval, response generation, context limits, errors, rate limiting, and streaming against a testable specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
ai, api, backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.