hyperforge-nucliadb 1.0.0.post32__tar.gz → 1.0.0.post34__tar.gz
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.
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/PKG-INFO +1 -1
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/pyproject.toml +1 -1
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/multi.py +1 -1
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/driver.py +2 -2
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/sync/agent.py +1 -1
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/sync/driver.py +2 -2
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb.egg-info/PKG-INFO +1 -1
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/tests/test_sync.py +1 -1
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/README.md +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/setup.cfg +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/__init__.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/advanced_ask_agent.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/advanced_ask_config.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/__init__.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/analysis.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/ask.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/config.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/hydrate.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/kb_analysis.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/knowledge_scan.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/models.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/nucliadb.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/prompt_analysis.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/query_analysis.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/rerank.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask/utils.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/ask_utils.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/basic_ask_agent.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/basic_ask_config.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/driver_config.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/sync/__init__.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/sync/config.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb/sync/config_driver.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb.egg-info/SOURCES.txt +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb.egg-info/dependency_links.txt +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb.egg-info/requires.txt +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/src/hyperforge_nucliadb.egg-info/top_level.txt +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/tests/test_ask_utils.py +0 -0
- {hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/tests/test_nucliadb.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hyperforge_nucliadb"
|
|
7
|
-
version = "1.0.0.
|
|
7
|
+
version = "1.0.0.post34"
|
|
8
8
|
license = "Apache-2.0"
|
|
9
9
|
description = "NucliaDB Hyperforge agent"
|
|
10
10
|
authors = [{ name = "Nuclia", email = "nucliadb@nuclia.com" }]
|
|
@@ -122,7 +122,7 @@ async def choose_source(
|
|
|
122
122
|
async def load_source_information(source: str, manager: Manager) -> Source:
|
|
123
123
|
driver = manager.drivers.get(source)
|
|
124
124
|
if not isinstance(driver, NucliaDBDriver) and not isinstance(driver, SyncDriver):
|
|
125
|
-
raise ValueError("Source is not a
|
|
125
|
+
raise ValueError("Source is not a KnowledgeBox source")
|
|
126
126
|
(
|
|
127
127
|
description,
|
|
128
128
|
labels,
|
|
@@ -81,8 +81,8 @@ async def manager_connect(conn: NucliaDBConnection):
|
|
|
81
81
|
|
|
82
82
|
@driver(
|
|
83
83
|
id="nucliadb",
|
|
84
|
-
title="
|
|
85
|
-
description="
|
|
84
|
+
title="KnowledgeBox Source",
|
|
85
|
+
description="Source for interacting with the KnowledgeBox API.",
|
|
86
86
|
config_schema=NucliaDBConfig,
|
|
87
87
|
)
|
|
88
88
|
class NucliaDBDriver(Driver):
|
|
@@ -157,7 +157,7 @@ class SyncAskAgent(BasicAskAgent): # type: ignore
|
|
|
157
157
|
or len(driver.sync_configs[sync_config_id]) == 0
|
|
158
158
|
):
|
|
159
159
|
raise Exception(
|
|
160
|
-
f"Connection ID {sync_config_id} not found in
|
|
160
|
+
f"Connection ID {sync_config_id} not found in source sync configs"
|
|
161
161
|
)
|
|
162
162
|
inner_connection_id = driver.sync_configs[sync_config_id][0]
|
|
163
163
|
creds_providers[sync_config_id] = driver.information[
|
|
@@ -52,8 +52,8 @@ class ExternalConnectionOutput(BaseModel):
|
|
|
52
52
|
|
|
53
53
|
@driver(
|
|
54
54
|
id="sync",
|
|
55
|
-
title="Sync
|
|
56
|
-
description="
|
|
55
|
+
title="Sync Source",
|
|
56
|
+
description="Source for interacting with the Sync API.",
|
|
57
57
|
config_schema=SyncDriverConfig,
|
|
58
58
|
)
|
|
59
59
|
class SyncDriver(NucliaDBDriver):
|
|
@@ -36,7 +36,7 @@ CONFIG = {
|
|
|
36
36
|
"kbid": "e103caf3-f8cb-4161-a57c-aad1192d0666",
|
|
37
37
|
"key": KB_E103CAF3_F8CB_4161_A57C_AAD1192D0666,
|
|
38
38
|
"filters": [],
|
|
39
|
-
"description": "Nuclia Sync
|
|
39
|
+
"description": "Nuclia Sync source for testing",
|
|
40
40
|
"connection_ids": ["019cade7-c177-77c5-99c2-c8771f85cf91"],
|
|
41
41
|
},
|
|
42
42
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/tests/test_ask_utils.py
RENAMED
|
File without changes
|
{hyperforge_nucliadb-1.0.0.post32 → hyperforge_nucliadb-1.0.0.post34}/tests/test_nucliadb.py
RENAMED
|
File without changes
|