Spaces:
Sleeping
Sleeping
Update api.py
Browse files
api.py
CHANGED
|
@@ -4,13 +4,13 @@ from fastapi import FastAPI, Query, HTTPException
|
|
| 4 |
from pydantic import BaseModel
|
| 5 |
from typing import List, Optional, Any
|
| 6 |
|
| 7 |
-
from rag_sessions import (
|
| 8 |
start_session,
|
| 9 |
reset_session,
|
| 10 |
get_session,
|
| 11 |
update_entity_memory,
|
| 12 |
)
|
| 13 |
-
from rag_retrieval import (
|
| 14 |
rewrite_query,
|
| 15 |
retrieve_chunks,
|
| 16 |
build_answer,
|
|
|
|
| 4 |
from pydantic import BaseModel
|
| 5 |
from typing import List, Optional, Any
|
| 6 |
|
| 7 |
+
from email_rag.rag_sessions import (
|
| 8 |
start_session,
|
| 9 |
reset_session,
|
| 10 |
get_session,
|
| 11 |
update_entity_memory,
|
| 12 |
)
|
| 13 |
+
from email_rag.rag_retrieval import (
|
| 14 |
rewrite_query,
|
| 15 |
retrieve_chunks,
|
| 16 |
build_answer,
|