Commit 022d366
committed
Add REST API server and examples
- rest_api.py: OpenAI-compatible REST endpoint
- examples.py: Comprehensive API usage examples
- Updated pyproject.toml with fastapi/uvicorn deps
- Updated README with complete file list
Signed-off-by: Patrick Moorhead <pmoorhead@nvidia.com>1 parent 127a307 commit 022d366
4 files changed
Lines changed: 814 additions & 0 deletions
File tree
- examples/aidp_openai_demo
- src/nat_aidp_openai_demo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
313 | 315 | | |
314 | 316 | | |
315 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments