aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/sdk/models.py
diff options
context:
space:
mode:
authorS. Solomon Darnell2025-03-28 21:52:21 -0500
committerS. Solomon Darnell2025-03-28 21:52:21 -0500
commit4a52a71956a8d46fcb7294ac71734504bb09bcc2 (patch)
treeee3dc5af3b6313e921cd920906356f5d4febc4ed /.venv/lib/python3.12/site-packages/sdk/models.py
parentcc961e04ba734dd72309fb548a2f97d67d578813 (diff)
downloadgn-ai-master.tar.gz
two version of R2R are hereHEADmaster
Diffstat (limited to '.venv/lib/python3.12/site-packages/sdk/models.py')
-rw-r--r--.venv/lib/python3.12/site-packages/sdk/models.py100
1 files changed, 100 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/sdk/models.py b/.venv/lib/python3.12/site-packages/sdk/models.py
new file mode 100644
index 00000000..81e7f9f0
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/sdk/models.py
@@ -0,0 +1,100 @@
+from shared.abstractions import (
+ AggregateSearchResult,
+ ChunkSearchResult,
+ GenerationConfig,
+ GraphCommunityResult,
+ GraphEntityResult,
+ GraphRelationshipResult,
+ GraphSearchResult,
+ GraphSearchResultType,
+ GraphSearchSettings,
+ HybridSearchSettings,
+ IngestionMode,
+ Message,
+ MessageType,
+ R2RException,
+ R2RSerializable,
+ SearchMode,
+ SearchSettings,
+ Token,
+ User,
+ select_search_filters,
+)
+from shared.abstractions.graph import (
+ GraphCreationSettings,
+ GraphEnrichmentSettings,
+)
+from shared.api.models import (
+ AgentEvent,
+ AgentResponse,
+ Citation,
+ CitationData,
+ CitationEvent,
+ Delta,
+ DeltaPayload,
+ FinalAnswerData,
+ FinalAnswerEvent,
+ MessageData,
+ MessageDelta,
+ MessageEvent,
+ RAGResponse,
+ SearchResultsData,
+ SearchResultsEvent,
+ SSEEventBase,
+ ThinkingData,
+ ThinkingEvent,
+ ToolCallData,
+ ToolCallEvent,
+ ToolResultData,
+ ToolResultEvent,
+ UnknownEvent,
+)
+
+__all__ = [
+ "AggregateSearchResult",
+ "GenerationConfig",
+ "HybridSearchSettings",
+ "GraphCommunityResult",
+ "GraphCreationSettings",
+ "GraphEnrichmentSettings",
+ "GraphEntityResult",
+ "GraphRelationshipResult",
+ "GraphSearchResult",
+ "GraphSearchResultType",
+ "GraphSearchSettings",
+ "Message",
+ "MessageType",
+ "R2RException",
+ "R2RSerializable",
+ "Token",
+ "ChunkSearchResult",
+ "SearchSettings",
+ "select_search_filters",
+ "IngestionMode",
+ "SearchMode",
+ # "RAGResponse",
+ "Citation",
+ "RAGResponse",
+ "AgentEvent",
+ "AgentResponse",
+ "SSEEventBase",
+ "SearchResultsData",
+ "SearchResultsEvent",
+ "MessageData",
+ "MessageDelta",
+ "MessageEvent",
+ "DeltaPayload",
+ "Delta",
+ "CitationData",
+ "CitationEvent",
+ "FinalAnswerData",
+ "FinalAnswerEvent",
+ "ToolCallData",
+ "ToolCallEvent",
+ "ToolResultData",
+ "ToolResultEvent",
+ "ThinkingEvent",
+ "ThinkingData",
+ "UnknownEvent",
+ "User",
+]