feat: add datastax components bundle (#8184)
* feat: add datastax components bundle * Update __init__.py * Remove old astra assistants folder * Remove old tools * Update __init__.py * Update test_assistants_components.py --------- Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
parent
cf98f2e55d
commit
6660df1fe0
14 changed files with 6 additions and 6 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
from .astra_assistant_manager import AstraAssistantManager
|
from .astra_assistant_manager import AstraAssistantManager
|
||||||
|
from .astradb_cql import AstraDBCQLToolComponent
|
||||||
|
from .astradb_tool import AstraDBToolComponent
|
||||||
from .create_assistant import AssistantsCreateAssistant
|
from .create_assistant import AssistantsCreateAssistant
|
||||||
from .create_thread import AssistantsCreateThread
|
from .create_thread import AssistantsCreateThread
|
||||||
from .dotenv import Dotenv
|
from .dotenv import Dotenv
|
||||||
|
|
@ -14,6 +16,8 @@ __all__ = [
|
||||||
"AssistantsListAssistants",
|
"AssistantsListAssistants",
|
||||||
"AssistantsRun",
|
"AssistantsRun",
|
||||||
"AstraAssistantManager",
|
"AstraAssistantManager",
|
||||||
|
"AstraDBCQLToolComponent",
|
||||||
|
"AstraDBToolComponent",
|
||||||
"Dotenv",
|
"Dotenv",
|
||||||
"GetEnvVar",
|
"GetEnvVar",
|
||||||
]
|
]
|
||||||
|
|
@ -35,13 +35,9 @@ from .yahoo_finance import YfinanceToolComponent
|
||||||
|
|
||||||
with warnings.catch_warnings():
|
with warnings.catch_warnings():
|
||||||
warnings.simplefilter("ignore", LangChainDeprecationWarning)
|
warnings.simplefilter("ignore", LangChainDeprecationWarning)
|
||||||
from .astradb import AstraDBToolComponent
|
|
||||||
from .astradb_cql import AstraDBCQLToolComponent
|
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"ArXivComponent",
|
"ArXivComponent",
|
||||||
"AstraDBCQLToolComponent",
|
|
||||||
"AstraDBToolComponent",
|
|
||||||
"BingSearchAPIComponent",
|
"BingSearchAPIComponent",
|
||||||
"CalculatorComponent",
|
"CalculatorComponent",
|
||||||
"CalculatorToolComponent",
|
"CalculatorToolComponent",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import pytest
|
import pytest
|
||||||
from langflow.components.astra_assistants import (
|
from langflow.components.datastax import (
|
||||||
AssistantsCreateAssistant,
|
AssistantsCreateAssistant,
|
||||||
AssistantsCreateThread,
|
AssistantsCreateThread,
|
||||||
AssistantsGetAssistantName,
|
AssistantsGetAssistantName,
|
||||||
|
|
|
||||||
|
|
@ -243,7 +243,7 @@ export const SIDEBAR_BUNDLES = [
|
||||||
{ display_name: "AssemblyAI", name: "assemblyai", icon: "AssemblyAI" },
|
{ display_name: "AssemblyAI", name: "assemblyai", icon: "AssemblyAI" },
|
||||||
{
|
{
|
||||||
display_name: "DataStax",
|
display_name: "DataStax",
|
||||||
name: "astra_assistants",
|
name: "datastax",
|
||||||
icon: "AstraDB",
|
icon: "AstraDB",
|
||||||
},
|
},
|
||||||
{ display_name: "Olivya", name: "olivya", icon: "Olivya" },
|
{ display_name: "Olivya", name: "olivya", icon: "Olivya" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue