hyperforge-nucliadb-agentic 1.0.0.post138__tar.gz → 1.0.0.post145__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_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/PKG-INFO +1 -1
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/pyproject.toml +1 -1
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/pyproject.toml.orig +1 -1
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/agent.py +9 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/README.md +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/__init__.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/__init__.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/audit.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/exceptions.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/lifespan.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/model.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/predict.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/predict_models.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/__init__.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/ask.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/graph_strategy.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/highlight.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/hydrator.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/metrics.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/parsers/__init__.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/parsers/ask.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/parsers/fetcher.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/parsers/find.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/prompt.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/rank_fusion.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/rerankers.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/retrieval.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/search/rpc.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/settings.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/utils/ids.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/utils/proto.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/utils/responses.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/ask/utils/text_blocks.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/config.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/internal_driver.py +0 -0
- {hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/src/hyperforge_nucliadb_agentic/py.typed +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hyperforge_nucliadb_agentic"
|
|
7
|
-
version = "1.0.0.
|
|
7
|
+
version = "1.0.0.post145"
|
|
8
8
|
license = "Apache-2.0"
|
|
9
9
|
description = "NucliaDB Hyperforge agent"
|
|
10
10
|
authors = [{ name = "Nuclia", email = "nucliadb@nuclia.com" }]
|
|
@@ -993,7 +993,13 @@ class NucliaDBAgent(ContextAgent, Agent[NucliaDBAgentConfig]):
|
|
|
993
993
|
if ask_request is None:
|
|
994
994
|
ask_request = AskRequest(query=question)
|
|
995
995
|
else:
|
|
996
|
+
has_null_model = (
|
|
997
|
+
"generative_model" in ask_request.model_fields_set
|
|
998
|
+
and ask_request.generative_model is None
|
|
999
|
+
)
|
|
996
1000
|
ask_request = ask_request.model_copy(update={"query": question})
|
|
1001
|
+
if has_null_model:
|
|
1002
|
+
ask_request.model_fields_set.discard("generative_model")
|
|
997
1003
|
|
|
998
1004
|
# Search config fills fields not explicitly set by the public ASK.
|
|
999
1005
|
if self.config.search_config is not None:
|
|
@@ -1020,6 +1026,9 @@ class NucliaDBAgent(ContextAgent, Agent[NucliaDBAgentConfig]):
|
|
|
1020
1026
|
field: value
|
|
1021
1027
|
for field, value in fallback_values.items()
|
|
1022
1028
|
if field not in ask_request.model_fields_set
|
|
1029
|
+
or (
|
|
1030
|
+
field == "generative_model" and ask_request.generative_model is None
|
|
1031
|
+
)
|
|
1023
1032
|
}
|
|
1024
1033
|
)
|
|
1025
1034
|
|
{hyperforge_nucliadb_agentic-1.0.0.post138 → hyperforge_nucliadb_agentic-1.0.0.post145}/README.md
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|