Upload 77 files
Browse files- app/__pycache__/__init__.cpython-311.pyc +0 -0
- app/__pycache__/config.cpython-311.pyc +0 -0
- app/api/__pycache__/deps.cpython-311.pyc +0 -0
- app/api/routes/__pycache__/entities.cpython-311.pyc +0 -0
- app/api/routes/__pycache__/events.cpython-311.pyc +0 -0
- app/api/routes/__pycache__/ingest.cpython-311.pyc +0 -0
- app/api/routes/__pycache__/investigate.cpython-311.pyc +0 -0
- app/api/routes/__pycache__/relationships.cpython-311.pyc +0 -0
- app/api/routes/__pycache__/search.cpython-311.pyc +0 -0
- app/api/routes/investigate.py +2 -2
- app/core/__pycache__/database.cpython-311.pyc +0 -0
- app/models/__pycache__/__init__.cpython-311.pyc +0 -0
- app/models/__pycache__/entity.cpython-311.pyc +0 -0
- app/models/__pycache__/project.cpython-311.pyc +0 -0
- app/services/__pycache__/brazil_apis.cpython-311.pyc +0 -0
- app/services/__pycache__/geocoding.cpython-311.pyc +0 -0
- app/services/__pycache__/investigation.cpython-311.pyc +0 -0
- app/services/__pycache__/investigator_agent.cpython-311.pyc +0 -0
- app/services/__pycache__/lancer.cpython-311.pyc +0 -0
- app/services/__pycache__/transparencia_api.cpython-311.pyc +0 -0
- app/services/ingestion/__pycache__/wikipedia.cpython-311.pyc +0 -0
- app/services/nlp/__pycache__/__init__.cpython-311.pyc +0 -0
- app/services/nlp/__pycache__/entity_extractor.cpython-311.pyc +0 -0
app/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary files a/app/__pycache__/__init__.cpython-311.pyc and b/app/__pycache__/__init__.cpython-311.pyc differ
|
|
|
app/__pycache__/config.cpython-311.pyc
CHANGED
|
Binary files a/app/__pycache__/config.cpython-311.pyc and b/app/__pycache__/config.cpython-311.pyc differ
|
|
|
app/api/__pycache__/deps.cpython-311.pyc
ADDED
|
Binary file (1.64 kB). View file
|
|
|
app/api/routes/__pycache__/entities.cpython-311.pyc
CHANGED
|
Binary files a/app/api/routes/__pycache__/entities.cpython-311.pyc and b/app/api/routes/__pycache__/entities.cpython-311.pyc differ
|
|
|
app/api/routes/__pycache__/events.cpython-311.pyc
CHANGED
|
Binary files a/app/api/routes/__pycache__/events.cpython-311.pyc and b/app/api/routes/__pycache__/events.cpython-311.pyc differ
|
|
|
app/api/routes/__pycache__/ingest.cpython-311.pyc
CHANGED
|
Binary files a/app/api/routes/__pycache__/ingest.cpython-311.pyc and b/app/api/routes/__pycache__/ingest.cpython-311.pyc differ
|
|
|
app/api/routes/__pycache__/investigate.cpython-311.pyc
ADDED
|
Binary file (10.1 kB). View file
|
|
|
app/api/routes/__pycache__/relationships.cpython-311.pyc
CHANGED
|
Binary files a/app/api/routes/__pycache__/relationships.cpython-311.pyc and b/app/api/routes/__pycache__/relationships.cpython-311.pyc differ
|
|
|
app/api/routes/__pycache__/search.cpython-311.pyc
CHANGED
|
Binary files a/app/api/routes/__pycache__/search.cpython-311.pyc and b/app/api/routes/__pycache__/search.cpython-311.pyc differ
|
|
|
app/api/routes/investigate.py
CHANGED
|
@@ -13,7 +13,7 @@ from app.services.investigation import (
|
|
| 13 |
)
|
| 14 |
from app.services.brazil_apis import consultar_cnpj
|
| 15 |
from app.services.investigator_agent import investigator_agent
|
| 16 |
-
from app.api.deps import
|
| 17 |
|
| 18 |
|
| 19 |
router = APIRouter(prefix="/investigate", tags=["Investigation"])
|
|
@@ -159,7 +159,7 @@ class AgentInvestigateResponse(BaseModel):
|
|
| 159 |
@router.post("/agent", response_model=AgentInvestigateResponse)
|
| 160 |
async def investigate_with_agent(
|
| 161 |
request: AgentInvestigateRequest,
|
| 162 |
-
db: Session = Depends(
|
| 163 |
):
|
| 164 |
"""
|
| 165 |
Autonomous investigation with AI agent.
|
|
|
|
| 13 |
)
|
| 14 |
from app.services.brazil_apis import consultar_cnpj
|
| 15 |
from app.services.investigator_agent import investigator_agent
|
| 16 |
+
from app.api.deps import get_scoped_db
|
| 17 |
|
| 18 |
|
| 19 |
router = APIRouter(prefix="/investigate", tags=["Investigation"])
|
|
|
|
| 159 |
@router.post("/agent", response_model=AgentInvestigateResponse)
|
| 160 |
async def investigate_with_agent(
|
| 161 |
request: AgentInvestigateRequest,
|
| 162 |
+
db: Session = Depends(get_scoped_db)
|
| 163 |
):
|
| 164 |
"""
|
| 165 |
Autonomous investigation with AI agent.
|
app/core/__pycache__/database.cpython-311.pyc
CHANGED
|
Binary files a/app/core/__pycache__/database.cpython-311.pyc and b/app/core/__pycache__/database.cpython-311.pyc differ
|
|
|
app/models/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary files a/app/models/__pycache__/__init__.cpython-311.pyc and b/app/models/__pycache__/__init__.cpython-311.pyc differ
|
|
|
app/models/__pycache__/entity.cpython-311.pyc
CHANGED
|
Binary files a/app/models/__pycache__/entity.cpython-311.pyc and b/app/models/__pycache__/entity.cpython-311.pyc differ
|
|
|
app/models/__pycache__/project.cpython-311.pyc
ADDED
|
Binary file (1.76 kB). View file
|
|
|
app/services/__pycache__/brazil_apis.cpython-311.pyc
ADDED
|
Binary file (12.3 kB). View file
|
|
|
app/services/__pycache__/geocoding.cpython-311.pyc
ADDED
|
Binary file (3.14 kB). View file
|
|
|
app/services/__pycache__/investigation.cpython-311.pyc
ADDED
|
Binary file (14.2 kB). View file
|
|
|
app/services/__pycache__/investigator_agent.cpython-311.pyc
ADDED
|
Binary file (21.2 kB). View file
|
|
|
app/services/__pycache__/lancer.cpython-311.pyc
ADDED
|
Binary file (9.6 kB). View file
|
|
|
app/services/__pycache__/transparencia_api.cpython-311.pyc
ADDED
|
Binary file (7.74 kB). View file
|
|
|
app/services/ingestion/__pycache__/wikipedia.cpython-311.pyc
CHANGED
|
Binary files a/app/services/ingestion/__pycache__/wikipedia.cpython-311.pyc and b/app/services/ingestion/__pycache__/wikipedia.cpython-311.pyc differ
|
|
|
app/services/nlp/__pycache__/__init__.cpython-311.pyc
ADDED
|
Binary file (220 Bytes). View file
|
|
|
app/services/nlp/__pycache__/entity_extractor.cpython-311.pyc
ADDED
|
Binary file (12.4 kB). View file
|
|
|