naas-abi-core 1.1.1__tar.gz → 1.1.3.dev1__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.
- naas_abi_core-1.1.3.dev1/=0.9.13 +6 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/CHANGELOG.md +16 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/PKG-INFO +1 -1
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/deploy.py +21 -8
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration.py +5 -2
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration_Deploy.py +1 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration_TripleStoreService.py +48 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/pyproject.toml +1 -1
- naas_abi_core-1.1.1/=0.9.13 +0 -6
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/.gitignore +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/README.md +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/assets/favicon.ico +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/api/api.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/api/api_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/api/openapi_doc.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/mcp/Dockerfile.mcp +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/mcp/mcp_server.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/mcp/mcp_server_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/terminal_agent/main.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/terminal_agent/terminal_style.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/agent.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/chat.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/config.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/init.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/module.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/new.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/cli/secret.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/Engine.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/EngineProxy.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/Engine_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/IEngine.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/conftest.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration_GenericLoader.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration_ObjectStorageService.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration_ObjectStorageService_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration_SecretService.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration_VectorStoreService.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/EngineConfiguration_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_configuration/utils/PydanticModelValidator.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_loaders/EngineModuleLoader.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_loaders/EngineOntologyLoader.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/engine/engine_loaders/EngineServiceLoader.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/integration/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/integration/integration.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/models/Model.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/models/OpenRouter.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/models/OpenRouter_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/module/Module.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/module/ModuleAgentLoader.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/module/ModuleUtils.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/modules/templatablesparqlquery/README.md +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/modules/templatablesparqlquery/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/modules/templatablesparqlquery/ontologies/TemplatableSparqlQueryOntology.ttl +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/modules/templatablesparqlquery/workflows/GenericWorkflow.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/modules/templatablesparqlquery/workflows/TemplatableSparqlQueryLoader.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/pipeline/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/pipeline/pipeline.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/Agent.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/AgentMemory_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/Agent_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/IntentAgent.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/IntentAgent_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/beta/Embeddings.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/beta/IntentMapper.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/beta/LocalModel.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/beta/VectorStore.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/test_agent_memory.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/test_postgres_integration.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/cache/CacheFactory.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/cache/CachePort.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/cache/CacheService.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/cache/CacheService_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/cache/adapters/secondary/CacheFSAdapter.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/object_storage/ObjectStorageFactory.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/object_storage/ObjectStoragePort.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/object_storage/ObjectStorageService.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/object_storage/adapters/secondary/ObjectStorageSecondaryAdapterFS.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/object_storage/adapters/secondary/ObjectStorageSecondaryAdapterNaas.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/object_storage/adapters/secondary/ObjectStorageSecondaryAdapterS3.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/ontology/OntologyPorts.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/ontology/OntologyService.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/ontology/adaptors/secondary/OntologyService_SecondaryAdaptor_NERPort.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/Secret.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/SecretPorts.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/Secret_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/adaptors/secondary/Base64Secret.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/adaptors/secondary/Base64Secret_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/adaptors/secondary/NaasSecret.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/adaptors/secondary/NaasSecret_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/adaptors/secondary/dotenv_secret_secondaryadaptor.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/TripleStoreFactory.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/TripleStorePorts.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/TripleStoreService.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/adaptors/secondary/AWSNeptune.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/adaptors/secondary/AWSNeptune_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/adaptors/secondary/Oxigraph.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/adaptors/secondary/Oxigraph_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/adaptors/secondary/TripleStoreService__SecondaryAdaptor__Filesystem.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/adaptors/secondary/TripleStoreService__SecondaryAdaptor__ObjectStorage.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/triple_store/adaptors/secondary/base/TripleStoreService__SecondaryAdaptor__FileBase.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/IVectorStorePort.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/IVectorStorePort_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/VectorStoreFactory.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/VectorStoreService.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/VectorStoreService_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/adapters/QdrantAdapter.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/adapters/QdrantAdapter_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/tests/test_services_imports.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/Expose.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/Graph.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/JSON.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/LazyLoader.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/Logger.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/OntologyReasoner.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/OntologyYaml.disabled.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/SPARQL.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/Storage.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/StorageUtils.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/String.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/Workers.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/onto2py/README.md +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/onto2py/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/onto2py/__main__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/onto2py/onto2py.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/onto2py/tests/ttl2py_test.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/workflow/__init__.py +0 -0
- {naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/workflow/workflow.py +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Collecting uv
|
|
2
|
+
Downloading uv-0.9.16-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
|
|
3
|
+
Downloading uv-0.9.16-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.0 MB)
|
|
4
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 22.0/22.0 MB 73.1 MB/s 0:00:00
|
|
5
|
+
Installing collected packages: uv
|
|
6
|
+
Successfully installed uv-0.9.16
|
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- version list -->
|
|
4
4
|
|
|
5
|
+
## v1.1.3-dev.1 (2025-12-08)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Linting errors
|
|
10
|
+
([`fe8c0a4`](https://github.com/jupyter-naas/abi/commit/fe8c0a4b8969bf70eb5aebe83e060a4771298638))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## v1.1.2 (2025-12-05)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- Make it possible to define env secrets from config.yaml
|
|
18
|
+
([`d9903cf`](https://github.com/jupyter-naas/abi/commit/d9903cfecac03df40a6f3076c7ff44229c0c12cd))
|
|
19
|
+
|
|
20
|
+
|
|
5
21
|
## v1.1.1 (2025-12-05)
|
|
6
22
|
|
|
7
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: naas-abi-core
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3.dev1
|
|
4
4
|
Summary: Abi framework allowing you to build your AI system.
|
|
5
5
|
Author-email: Maxime Jublou <maxime@naas.ai>, Florent Ravenel <florent@naas.ai>, Jeremy Ravenel <jeremy@naas.ai>
|
|
6
6
|
Requires-Python: <4,>=3.10
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import json
|
|
2
1
|
import subprocess
|
|
3
2
|
from uuid import uuid4
|
|
4
3
|
|
|
@@ -103,6 +102,7 @@ class NaasDeployer:
|
|
|
103
102
|
image_name: str
|
|
104
103
|
|
|
105
104
|
naas_api_client: NaasAPIClient
|
|
105
|
+
configuration: EngineConfiguration
|
|
106
106
|
|
|
107
107
|
def __init__(self, configuration: EngineConfiguration):
|
|
108
108
|
self.configuration = configuration
|
|
@@ -119,6 +119,14 @@ class NaasDeployer:
|
|
|
119
119
|
return {env_var.split("=", 1)[0]: env_var.split("=", 1)[1] for env_var in env}
|
|
120
120
|
|
|
121
121
|
def deploy(self, env: list[str]):
|
|
122
|
+
if self.configuration.deploy is None:
|
|
123
|
+
logger.error(
|
|
124
|
+
"Deploy configuration not found in the yaml configuration file. Please add a deploy section to the configuration file."
|
|
125
|
+
)
|
|
126
|
+
raise ValueError(
|
|
127
|
+
"Deploy configuration not found in the yaml configuration file. Please add a deploy section to the configuration file."
|
|
128
|
+
)
|
|
129
|
+
|
|
122
130
|
registry = self.naas_api_client.create_registry(
|
|
123
131
|
self.configuration.deploy.space_name
|
|
124
132
|
)
|
|
@@ -148,7 +156,6 @@ class NaasDeployer:
|
|
|
148
156
|
|
|
149
157
|
image_name_with_sha = f"{image_name.replace(':' + uid, '')}@{image_sha}"
|
|
150
158
|
|
|
151
|
-
|
|
152
159
|
self.naas_api_client.create_space(
|
|
153
160
|
Space(
|
|
154
161
|
name=self.configuration.deploy.space_name,
|
|
@@ -159,16 +166,17 @@ class NaasDeployer:
|
|
|
159
166
|
port=9879,
|
|
160
167
|
cpu="1",
|
|
161
168
|
memory="1Gi",
|
|
162
|
-
env=self.env_list_to_dict(env) | {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
},
|
|
169
|
+
# env=self.env_list_to_dict(env) | {
|
|
170
|
+
# "NAAS_API_KEY": self.configuration.deploy.naas_api_key,
|
|
171
|
+
# "ENV": "prod",
|
|
172
|
+
# },
|
|
173
|
+
env=self.configuration.deploy.env | self.env_list_to_dict(env),
|
|
166
174
|
)
|
|
167
175
|
],
|
|
168
176
|
)
|
|
169
177
|
)
|
|
170
178
|
|
|
171
|
-
|
|
179
|
+
self.naas_api_client.get_space(self.configuration.deploy.space_name)
|
|
172
180
|
|
|
173
181
|
Console().print(
|
|
174
182
|
Markdown(f"""
|
|
@@ -183,7 +191,12 @@ class NaasDeployer:
|
|
|
183
191
|
|
|
184
192
|
|
|
185
193
|
@deploy.command("naas")
|
|
186
|
-
@click.option(
|
|
194
|
+
@click.option(
|
|
195
|
+
"-e",
|
|
196
|
+
"--env",
|
|
197
|
+
multiple=True,
|
|
198
|
+
help="Environment variables to set (e.g. -e FOO=BAR -e BAZ=QUX)",
|
|
199
|
+
)
|
|
187
200
|
def naas(env: list[str]):
|
|
188
201
|
configuration: EngineConfiguration = EngineConfiguration.load_configuration()
|
|
189
202
|
|
|
@@ -5,6 +5,9 @@ from typing import List
|
|
|
5
5
|
import yaml
|
|
6
6
|
from jinja2 import Template
|
|
7
7
|
from naas_abi_core import logger
|
|
8
|
+
from naas_abi_core.engine.engine_configuration.EngineConfiguration_Deploy import (
|
|
9
|
+
DeployConfiguration,
|
|
10
|
+
)
|
|
8
11
|
from naas_abi_core.engine.engine_configuration.EngineConfiguration_ObjectStorageService import (
|
|
9
12
|
ObjectStorageServiceConfiguration,
|
|
10
13
|
)
|
|
@@ -20,7 +23,7 @@ from naas_abi_core.engine.engine_configuration.EngineConfiguration_VectorStoreSe
|
|
|
20
23
|
from naas_abi_core.services.secret.Secret import Secret
|
|
21
24
|
from pydantic import BaseModel, model_validator
|
|
22
25
|
from typing_extensions import Literal
|
|
23
|
-
|
|
26
|
+
|
|
24
27
|
|
|
25
28
|
class ServicesConfiguration(BaseModel):
|
|
26
29
|
object_storage: ObjectStorageServiceConfiguration
|
|
@@ -80,7 +83,7 @@ class GlobalConfig(BaseModel):
|
|
|
80
83
|
|
|
81
84
|
class EngineConfiguration(BaseModel):
|
|
82
85
|
api: ApiConfiguration
|
|
83
|
-
|
|
86
|
+
|
|
84
87
|
deploy: DeployConfiguration | None = None
|
|
85
88
|
|
|
86
89
|
services: ServicesConfiguration
|
|
@@ -20,11 +20,29 @@ if TYPE_CHECKING:
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class OxigraphAdapterConfiguration(BaseModel):
|
|
23
|
+
"""Oxigraph adapter configuration.
|
|
24
|
+
|
|
25
|
+
triple_store_adapter:
|
|
26
|
+
adapter: "oxigraph"
|
|
27
|
+
config:
|
|
28
|
+
oxigraph_url: "http://localhost:7878"
|
|
29
|
+
timeout: 60
|
|
30
|
+
"""
|
|
23
31
|
oxigraph_url: str = "http://localhost:7878"
|
|
24
32
|
timeout: int = 60
|
|
25
33
|
|
|
26
34
|
|
|
27
35
|
class AWSNeptuneAdapterConfiguration(BaseModel):
|
|
36
|
+
"""AWS Neptune adapter configuration.
|
|
37
|
+
|
|
38
|
+
triple_store_adapter:
|
|
39
|
+
adapter: "aws_neptune"
|
|
40
|
+
config:
|
|
41
|
+
aws_region_name: "eu-west-3"
|
|
42
|
+
aws_access_key_id: "{{ secret.AWS_ACCESS_KEY_ID }}"
|
|
43
|
+
aws_secret_access_key: "{{ secret.AWS_SECRET_ACCESS_KEY }}"
|
|
44
|
+
db_instance_identifier: "{{ secret.DB_INSTANCE_IDENTIFIER }}"
|
|
45
|
+
"""
|
|
28
46
|
aws_region_name: str
|
|
29
47
|
aws_access_key_id: str
|
|
30
48
|
aws_secret_access_key: str
|
|
@@ -32,6 +50,20 @@ class AWSNeptuneAdapterConfiguration(BaseModel):
|
|
|
32
50
|
|
|
33
51
|
|
|
34
52
|
class AWSNeptuneSSHTunnelAdapterConfiguration(AWSNeptuneAdapterConfiguration):
|
|
53
|
+
"""AWS Neptune SSH tunnel adapter configuration.
|
|
54
|
+
|
|
55
|
+
triple_store_adapter:
|
|
56
|
+
adapter: "aws_neptune_sshtunnel"
|
|
57
|
+
config:
|
|
58
|
+
aws_region_name: "eu-west-3"
|
|
59
|
+
aws_access_key_id: "{{ secret.AWS_ACCESS_KEY_ID }}"
|
|
60
|
+
aws_secret_access_key: "{{ secret.AWS_SECRET_ACCESS_KEY }}"
|
|
61
|
+
db_instance_identifier: "{{ secret.DB_INSTANCE_IDENTIFIER }}"
|
|
62
|
+
bastion_host: "bastion.example.com"
|
|
63
|
+
bastion_port: 22
|
|
64
|
+
bastion_user: "ubuntu"
|
|
65
|
+
bastion_private_key: "{{ secret.BASTION_PRIVATE_KEY }}"
|
|
66
|
+
"""
|
|
35
67
|
bastion_host: str
|
|
36
68
|
bastion_port: int
|
|
37
69
|
bastion_user: str
|
|
@@ -39,11 +71,27 @@ class AWSNeptuneSSHTunnelAdapterConfiguration(AWSNeptuneAdapterConfiguration):
|
|
|
39
71
|
|
|
40
72
|
|
|
41
73
|
class TripleStoreAdapterFilesystemConfiguration(BaseModel):
|
|
74
|
+
"""Filesystem adapter configuration.
|
|
75
|
+
|
|
76
|
+
triple_store_adapter:
|
|
77
|
+
adapter: "fs"
|
|
78
|
+
config:
|
|
79
|
+
store_path: "storage/triplestore"
|
|
80
|
+
triples_path: "triples"
|
|
81
|
+
"""
|
|
42
82
|
store_path: str
|
|
43
83
|
triples_path: str = "triples"
|
|
44
84
|
|
|
45
85
|
|
|
46
86
|
class TripleStoreAdapterObjectStorageConfiguration(BaseModel):
|
|
87
|
+
"""Object storage adapter configuration.
|
|
88
|
+
|
|
89
|
+
triple_store_adapter:
|
|
90
|
+
adapter: "object_storage"
|
|
91
|
+
config:
|
|
92
|
+
object_storage_service: *object_storage_service
|
|
93
|
+
triples_prefix: "triples"
|
|
94
|
+
"""
|
|
47
95
|
object_storage_service: ObjectStorageServiceConfiguration
|
|
48
96
|
triples_prefix: str = "triples"
|
|
49
97
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "naas-abi-core"
|
|
3
|
-
version = "1.1.1"
|
|
3
|
+
version = "1.1.3-dev.1"
|
|
4
4
|
description = "Abi framework allowing you to build your AI system."
|
|
5
5
|
authors = [{ name = "Maxime Jublou", email = "maxime@naas.ai" },{ name = "Florent Ravenel", email = "florent@naas.ai" }, { name = "Jeremy Ravenel", email = "jeremy@naas.ai" }]
|
|
6
6
|
requires-python = ">=3.10,<4"
|
naas_abi_core-1.1.1/=0.9.13
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
Collecting uv
|
|
2
|
-
Downloading uv-0.9.15-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
|
|
3
|
-
Downloading uv-0.9.15-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21.7 MB)
|
|
4
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.7/21.7 MB 78.7 MB/s 0:00:00
|
|
5
|
-
Installing collected packages: uv
|
|
6
|
-
Successfully installed uv-0.9.15
|
|
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
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/apps/terminal_agent/terminal_style.py
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
|
|
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
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/AgentMemory_test.py
RENAMED
|
File without changes
|
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/IntentAgent.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/IntentAgent_test.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/beta/Embeddings.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/beta/IntentMapper.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/beta/LocalModel.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/beta/VectorStore.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/agent/test_agent_memory.py
RENAMED
|
File without changes
|
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/cache/CacheFactory.py
RENAMED
|
File without changes
|
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/cache/CacheService.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/cache/CacheService_test.py
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
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/ontology/OntologyPorts.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/ontology/OntologyService.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/SecretPorts.py
RENAMED
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/secret/Secret_test.py
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
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/services/vector_store/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/tests/test_services_imports.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/OntologyYaml.disabled.py
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
|
{naas_abi_core-1.1.1 → naas_abi_core-1.1.3.dev1}/naas_abi_core/utils/onto2py/tests/ttl2py_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|