|
|
@@ -38,7 +38,7 @@ This project provides a FastAPI-based backend for extracting structured data fro
|
|
|
|
|
|
3. **Run the Server**:
|
|
|
```bash
|
|
|
- uvicorn src.main:app --reload
|
|
|
+ uvicorn backend.main:app --reload
|
|
|
```
|
|
|
|
|
|
### Frontend (Angular)
|
|
|
@@ -72,10 +72,11 @@ Returns a structured JSON matching the `ExtractionResponse` schema.
|
|
|
|
|
|
## Project Structure
|
|
|
|
|
|
-- `src/`
|
|
|
+- `backend/`
|
|
|
- `main.py`: Entry point and API endpoints.
|
|
|
- `schemas.py`: Pydantic models for data validation and structured output.
|
|
|
- `services/`:
|
|
|
- `openai_service.py`: Logic for interacting with OpenAI API.
|
|
|
+- `ai-data-entry-ui/`: Angular frontend.
|
|
|
- `requirements.txt`: Python dependencies.
|
|
|
- `.env`: Environment variables (not tracked by git).
|