lfx-datastax 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lfx_datastax/__init__.py +35 -0
- lfx_datastax/base/__init__.py +13 -0
- lfx_datastax/base/astradb_base.py +914 -0
- lfx_datastax/components/__init__.py +0 -0
- lfx_datastax/components/datastax/__init__.py +69 -0
- lfx_datastax/components/datastax/astradb_chatmemory.py +42 -0
- lfx_datastax/components/datastax/astradb_cql.py +314 -0
- lfx_datastax/components/datastax/astradb_data_api.py +621 -0
- lfx_datastax/components/datastax/astradb_graph.py +220 -0
- lfx_datastax/components/datastax/astradb_tool.py +405 -0
- lfx_datastax/components/datastax/astradb_vectorize.py +150 -0
- lfx_datastax/components/datastax/astradb_vectorstore.py +532 -0
- lfx_datastax/components/datastax/dotenv.py +36 -0
- lfx_datastax/components/datastax/graph_rag.py +147 -0
- lfx_datastax/components/datastax/hcd.py +322 -0
- lfx_datastax/extension.json +16 -0
- lfx_datastax-0.1.0.dist-info/METADATA +48 -0
- lfx_datastax-0.1.0.dist-info/RECORD +20 -0
- lfx_datastax-0.1.0.dist-info/WHEEL +4 -0
- lfx_datastax-0.1.0.dist-info/entry_points.txt +2 -0
lfx_datastax/__init__.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""lfx-datastax: DataStax bundle.
|
|
2
|
+
|
|
3
|
+
Distribution unit ``lfx-datastax``. At runtime Langflow's loader
|
|
4
|
+
discovers ``extension.json`` shipped alongside this ``__init__.py`` and
|
|
5
|
+
registers the bundle's components under the namespaced IDs
|
|
6
|
+
``ext:datastax:<Class>@official``.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from lfx_datastax.components.datastax.astradb_cql import AstraDBCQLToolComponent
|
|
10
|
+
from lfx_datastax.components.datastax.astradb_chatmemory import AstraDBChatMemory
|
|
11
|
+
from lfx_datastax.components.datastax.astradb_data_api import AstraDBDataAPIComponent
|
|
12
|
+
from lfx_datastax.components.datastax.astradb_graph import (
|
|
13
|
+
AstraDBGraphVectorStoreComponent,
|
|
14
|
+
)
|
|
15
|
+
from lfx_datastax.components.datastax.astradb_tool import AstraDBToolComponent
|
|
16
|
+
from lfx_datastax.components.datastax.astradb_vectorstore import (
|
|
17
|
+
AstraDBVectorStoreComponent,
|
|
18
|
+
)
|
|
19
|
+
from lfx_datastax.components.datastax.astradb_vectorize import AstraVectorizeComponent
|
|
20
|
+
from lfx_datastax.components.datastax.dotenv import Dotenv
|
|
21
|
+
from lfx_datastax.components.datastax.graph_rag import GraphRAGComponent
|
|
22
|
+
from lfx_datastax.components.datastax.hcd import HCDVectorStoreComponent
|
|
23
|
+
|
|
24
|
+
__all__ = [
|
|
25
|
+
"AstraDBCQLToolComponent",
|
|
26
|
+
"AstraDBChatMemory",
|
|
27
|
+
"AstraDBDataAPIComponent",
|
|
28
|
+
"AstraDBGraphVectorStoreComponent",
|
|
29
|
+
"AstraDBToolComponent",
|
|
30
|
+
"AstraDBVectorStoreComponent",
|
|
31
|
+
"AstraVectorizeComponent",
|
|
32
|
+
"Dotenv",
|
|
33
|
+
"GraphRAGComponent",
|
|
34
|
+
"HCDVectorStoreComponent",
|
|
35
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Shared base infrastructure for the datastax bundle.
|
|
2
|
+
|
|
3
|
+
Houses the mixin(s) every component in this bundle inherits from --
|
|
4
|
+
pre-extraction this lived at ``lfx.base.datastax``. Moved into the
|
|
5
|
+
bundle (not kept in lfx) because it is datastax-specific and only ever
|
|
6
|
+
imported by the datastax components.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from lfx_datastax.base.astradb_base import AstraDBBaseComponent
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"AstraDBBaseComponent",
|
|
13
|
+
]
|