File size: 814 Bytes
e4abb85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Backend Documentation

This directory contains the IntegraChat backend implementation.

## Structure

- `api/` - FastAPI application with routes and services
- `mcp_servers/` - MCP server implementations (RAG, Web Search, Admin)
- `workers/` - Celery workers for async task processing

## Setup

For full backend setup instructions, refer to the main project README.md in the root directory.

## API Endpoints

The main API endpoint used by the Gradio interface:

- `POST /agent/chat` - Chat with the MCP agent
  - Headers: `x-tenant-id: <tenant-id>`
  - Body: `{ "message": "<text>" }`
  - Response: `{ "response": "<agent-response>" }`

## Note

This Hugging Face Space submission includes only placeholder files for the backend structure.
The full backend codebase exists in the main IntegraChat repository.