Initial commit

This commit is contained in:
2025-08-09 16:09:37 +05:30
commit 57cbf155ea
8 changed files with 196 additions and 0 deletions

34
README.md Normal file
View File

@@ -0,0 +1,34 @@
### ADK Sample Project
Public example using Google ADK with a simple email pipeline.
### Requirements
- Python 3.13, `uv` (`pip install uv` or see `https://astral.sh/uv`)
### Setup
1) Install deps:
```
uv sync
```
2) Create `.env` in project root:
```
GEMINI_API_KEY=your_key
GENAI_MODEL=gemini-2.5-flash
```
### Run
```
uv run uvicorn main:app --reload
```
Web UI at `http://localhost:8000`.
### API
POST `http://localhost:8000/process_data`
```
curl -s -X POST http://localhost:8000/process_data \
-H 'Content-Type: application/json' \
-d '{"message":"Draft an email about Friday meeting at 2pm"}'
```
Returns `{ "emails": "..." }`.