Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
## Digiyatra
|
2 |
from fastapi import FastAPI, Depends, BackgroundTasks, HTTPException, APIRouter, Query, Header
|
3 |
from pydantic import BaseModel
|
4 |
-
from typing import List, Dict, Optional, Union, Annotated, Any
|
5 |
from openai import AsyncOpenAI
|
6 |
from observability import LLMObservabilityManager, log_execution, logger
|
7 |
from aiclient import DatabaseManager, AIClient
|
|
|
1 |
## Digiyatra
|
2 |
from fastapi import FastAPI, Depends, BackgroundTasks, HTTPException, APIRouter, Query, Header
|
3 |
from pydantic import BaseModel
|
4 |
+
from typing import List, Dict, Optional, Union, Annotated, Any, get_args
|
5 |
from openai import AsyncOpenAI
|
6 |
from observability import LLMObservabilityManager, log_execution, logger
|
7 |
from aiclient import DatabaseManager, AIClient
|