sunholo 0.126.4__tar.gz → 0.127.0__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.
- {sunholo-0.126.4/src/sunholo.egg-info → sunholo-0.127.0}/PKG-INFO +3 -1
- {sunholo-0.126.4 → sunholo-0.127.0}/pyproject.toml +3 -1
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/dispatch_to_qa.py +5 -6
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/discovery_engine/discovery_engine_client.py +1 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/config_class.py +19 -12
- {sunholo-0.126.4 → sunholo-0.127.0/src/sunholo.egg-info}/PKG-INFO +3 -1
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo.egg-info/requires.txt +2 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/LICENSE.txt +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/MANIFEST.in +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/README.md +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/setup.cfg +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/chat_history.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/fastapi/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/fastapi/base.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/fastapi/qna_routes.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/flask/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/flask/base.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/flask/qna_routes.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/flask/vac_routes.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/langserve.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/pubsub.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/route.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/special_commands.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/agents/swagger.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/archive/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/archive/archive.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/auth/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/auth/gcloud.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/auth/refresh.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/auth/run.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/azure/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/azure/auth.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/azure/blobs.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/azure/event_grid.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/bots/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/bots/discord.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/bots/github_webhook.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/bots/webapp.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/azure.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/doc_handling.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/encode_metadata.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/images.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/loaders.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/message_data.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/pdfs.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/process_chunker_data.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/publish.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/pubsub.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/chunker/splitter.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/chat_vac.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/cli.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/cli_init.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/configs.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/deploy.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/embedder.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/merge_texts.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/run_proxy.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/sun_rich.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/swagger.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/cli/vertex.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/components/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/components/llm.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/components/retriever.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/components/vectorstore.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/custom_logging.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/alloydb.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/alloydb_client.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/database.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/lancedb.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/sql/sb/create_function.sql +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/sql/sb/create_function_time.sql +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/sql/sb/create_table.sql +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/sql/sb/delete_source_row.sql +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/sql/sb/return_sources.sql +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/sql/sb/setup.sql +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/static_dbs.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/database/uuid.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/discovery_engine/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/discovery_engine/chunker_handler.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/discovery_engine/cli.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/discovery_engine/create_new.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/discovery_engine/get_ai_search_chunks.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/embedder/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/embedder/embed_chunk.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/embedder/embed_metadata.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/excel/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/excel/plugin.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/gcs/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/gcs/add_file.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/gcs/download_folder.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/gcs/download_url.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/gcs/extract_and_sign.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/gcs/metadata.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/genai/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/genai/file_handling.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/genai/genaiv2.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/genai/images.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/genai/init.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/genai/process_funcs_cls.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/genai/safety.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/invoke/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/invoke/async_class.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/invoke/direct_vac_func.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/invoke/invoke_vac_utils.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/langchain_types.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/langfuse/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/langfuse/callback.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/langfuse/evals.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/langfuse/prompts.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/llamaindex/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/llamaindex/get_files.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/llamaindex/import_files.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/llamaindex/llamaindex_class.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/llamaindex/user_history.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/lookup/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/lookup/model_lookup.yaml +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/mcp/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/mcp/cli.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/ollama/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/ollama/ollama_images.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/pubsub/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/pubsub/process_pubsub.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/pubsub/pubsub_manager.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/qna/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/qna/parsers.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/qna/retry.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/senses/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/senses/stream_voice.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/streaming/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/streaming/content_buffer.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/streaming/langserve.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/streaming/stream_lookup.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/streaming/streaming.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/summarise/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/summarise/summarise.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/agent/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/agent/agent_service.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/agent/app.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/agent/my_log.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/agent/tools/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/agent/tools/your_agent.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/agent/vac_service.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/project/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/project/app.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/project/my_log.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/project/vac_service.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/system_services/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/system_services/app.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/templates/system_services/my_log.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/terraform/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/terraform/tfvars_editor.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/tools/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/tools/web_browser.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/api_key.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/big_context.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/config.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/config_schema.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/gcp.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/gcp_project.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/mime.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/parsers.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/timedelta.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/user_ids.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/utils/version.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/vertex/__init__.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/vertex/extensions_call.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/vertex/extensions_class.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/vertex/genai_functions.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/vertex/init.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/vertex/memory_tools.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/vertex/safety.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo/vertex/type_dict_to_json.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo.egg-info/SOURCES.txt +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo.egg-info/dependency_links.txt +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo.egg-info/entry_points.txt +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/src/sunholo.egg-info/top_level.txt +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/tests/test_async.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/tests/test_async_genai2.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/tests/test_chat_history.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/tests/test_config.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/tests/test_genai2.py +0 -0
- {sunholo-0.126.4 → sunholo-0.127.0}/tests/test_unstructured.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: sunholo
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.127.0
|
4
4
|
Summary: Large Language Model DevOps - a package to help deploy LLMs to the Cloud.
|
5
5
|
Author-email: Holosun ApS <multivac@sunholo.com>
|
6
6
|
License: Apache License, Version 2.0
|
@@ -142,6 +142,7 @@ Requires-Dist: google-cloud-discoveryengine>=0.13.4; extra == "gcp"
|
|
142
142
|
Requires-Dist: google-cloud-texttospeech; extra == "gcp"
|
143
143
|
Requires-Dist: google-genai>=0.2.2; extra == "gcp"
|
144
144
|
Requires-Dist: google-generativeai>=0.8.3; extra == "gcp"
|
145
|
+
Requires-Dist: langchain; extra == "gcp"
|
145
146
|
Requires-Dist: langchain-google-genai>=2.0.0; extra == "gcp"
|
146
147
|
Requires-Dist: langchain_google_alloydb_pg>=0.2.2; extra == "gcp"
|
147
148
|
Requires-Dist: langchain-google-vertexai; extra == "gcp"
|
@@ -164,6 +165,7 @@ Requires-Dist: flask; extra == "http"
|
|
164
165
|
Requires-Dist: gunicorn; extra == "http"
|
165
166
|
Requires-Dist: httpcore; extra == "http"
|
166
167
|
Requires-Dist: httpx; extra == "http"
|
168
|
+
Requires-Dist: langchain; extra == "http"
|
167
169
|
Requires-Dist: langfuse; extra == "http"
|
168
170
|
Requires-Dist: python-socketio; extra == "http"
|
169
171
|
Requires-Dist: requests; extra == "http"
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "sunholo"
|
7
|
-
version = "0.
|
7
|
+
version = "0.127.0"
|
8
8
|
description = "Large Language Model DevOps - a package to help deploy LLMs to the Cloud."
|
9
9
|
readme = "README.md"
|
10
10
|
requires-python = ">=3.10"
|
@@ -179,6 +179,7 @@ gcp = [
|
|
179
179
|
"google-cloud-texttospeech",
|
180
180
|
"google-genai>=0.2.2",
|
181
181
|
"google-generativeai>=0.8.3",
|
182
|
+
"langchain",
|
182
183
|
"langchain-google-genai>=2.0.0",
|
183
184
|
"langchain_google_alloydb_pg>=0.2.2",
|
184
185
|
"langchain-google-vertexai",
|
@@ -206,6 +207,7 @@ http = [
|
|
206
207
|
"gunicorn",
|
207
208
|
"httpcore",
|
208
209
|
"httpx",
|
210
|
+
"langchain",
|
209
211
|
"langfuse",
|
210
212
|
"python-socketio",
|
211
213
|
"requests",
|
@@ -21,11 +21,6 @@ import traceback
|
|
21
21
|
from .route import route_endpoint
|
22
22
|
import os
|
23
23
|
|
24
|
-
try:
|
25
|
-
from langfuse import Langfuse
|
26
|
-
langfuse = Langfuse()
|
27
|
-
except ImportError:
|
28
|
-
langfuse = None
|
29
24
|
|
30
25
|
def prep_request_payload(user_input, chat_history, vector_name, stream, **kwargs):
|
31
26
|
"""
|
@@ -93,7 +88,11 @@ def prep_request_payload(user_input, chat_history, vector_name, stream, **kwargs
|
|
93
88
|
return qna_endpoint, qna_data
|
94
89
|
|
95
90
|
def add_langfuse_trace(qna_endpoint):
|
96
|
-
|
91
|
+
try:
|
92
|
+
from langfuse import Langfuse
|
93
|
+
langfuse = Langfuse()
|
94
|
+
except Exception as err:
|
95
|
+
log.error(err)
|
97
96
|
return None
|
98
97
|
|
99
98
|
trace = langfuse.trace(name = f'dispatch/{os.path.basename(qna_endpoint)}')
|
@@ -614,6 +614,7 @@ class DiscoveryEngineClient:
|
|
614
614
|
reconciliation_mode=discoveryengine.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL,
|
615
615
|
)
|
616
616
|
|
617
|
+
log.debug(f"Making import_document_request: {request}")
|
617
618
|
return self._import_document_request(request)
|
618
619
|
|
619
620
|
def _create_unique_gsuri_docid(self, gcs_uri:str):
|
@@ -112,18 +112,6 @@ class ConfigManager:
|
|
112
112
|
"""
|
113
113
|
Helper function to load a config file and update the cache.
|
114
114
|
|
115
|
-
Args:
|
116
|
-
config_file (str): The path to the configuration file.
|
117
|
-
filename (str): The name of the configuration file.
|
118
|
-
is_local (bool): Indicates if the config file is from the local folder.
|
119
|
-
|
120
|
-
Returns:
|
121
|
-
dict: The loaded configuration.
|
122
|
-
"""
|
123
|
-
def _reload_config_file(self, config_file, filename, is_local=False):
|
124
|
-
"""
|
125
|
-
Helper function to load a config file and update the cache.
|
126
|
-
|
127
115
|
Args:
|
128
116
|
config_file (str): The path to the configuration file.
|
129
117
|
filename (str): The name of the configuration file.
|
@@ -244,4 +232,23 @@ class ConfigManager:
|
|
244
232
|
return agents[key]
|
245
233
|
else:
|
246
234
|
return agents.get("default")
|
235
|
+
|
236
|
+
def permissionConfig(self, key: str):
|
237
|
+
"""
|
238
|
+
Fetch a key from 'permissionConfig' kind configuration.
|
247
239
|
|
240
|
+
Args:
|
241
|
+
key (str): The key to fetch from the configuration.
|
242
|
+
|
243
|
+
Returns:
|
244
|
+
str: The value associated with the specified key.
|
245
|
+
"""
|
246
|
+
self._check_and_reload_configs()
|
247
|
+
config = self.configs_by_kind.get('permissionConfig')
|
248
|
+
if not config:
|
249
|
+
return None
|
250
|
+
agents = config.get('permissions')
|
251
|
+
if key in agents:
|
252
|
+
return agents[key]
|
253
|
+
else:
|
254
|
+
return None
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: sunholo
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.127.0
|
4
4
|
Summary: Large Language Model DevOps - a package to help deploy LLMs to the Cloud.
|
5
5
|
Author-email: Holosun ApS <multivac@sunholo.com>
|
6
6
|
License: Apache License, Version 2.0
|
@@ -142,6 +142,7 @@ Requires-Dist: google-cloud-discoveryengine>=0.13.4; extra == "gcp"
|
|
142
142
|
Requires-Dist: google-cloud-texttospeech; extra == "gcp"
|
143
143
|
Requires-Dist: google-genai>=0.2.2; extra == "gcp"
|
144
144
|
Requires-Dist: google-generativeai>=0.8.3; extra == "gcp"
|
145
|
+
Requires-Dist: langchain; extra == "gcp"
|
145
146
|
Requires-Dist: langchain-google-genai>=2.0.0; extra == "gcp"
|
146
147
|
Requires-Dist: langchain_google_alloydb_pg>=0.2.2; extra == "gcp"
|
147
148
|
Requires-Dist: langchain-google-vertexai; extra == "gcp"
|
@@ -164,6 +165,7 @@ Requires-Dist: flask; extra == "http"
|
|
164
165
|
Requires-Dist: gunicorn; extra == "http"
|
165
166
|
Requires-Dist: httpcore; extra == "http"
|
166
167
|
Requires-Dist: httpx; extra == "http"
|
168
|
+
Requires-Dist: langchain; extra == "http"
|
167
169
|
Requires-Dist: langfuse; extra == "http"
|
168
170
|
Requires-Dist: python-socketio; extra == "http"
|
169
171
|
Requires-Dist: requests; extra == "http"
|
@@ -117,6 +117,7 @@ google-cloud-discoveryengine>=0.13.4
|
|
117
117
|
google-cloud-texttospeech
|
118
118
|
google-genai>=0.2.2
|
119
119
|
google-generativeai>=0.8.3
|
120
|
+
langchain
|
120
121
|
langchain-google-genai>=2.0.0
|
121
122
|
langchain_google_alloydb_pg>=0.2.2
|
122
123
|
langchain-google-vertexai
|
@@ -128,6 +129,7 @@ flask
|
|
128
129
|
gunicorn
|
129
130
|
httpcore
|
130
131
|
httpx
|
132
|
+
langchain
|
131
133
|
langfuse
|
132
134
|
python-socketio
|
133
135
|
requests
|
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
|
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
|
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
|
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
|
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
|