From 8265557e046ec8095a813408bf5b8b7e22ecd6b1 Mon Sep 17 00:00:00 2001 From: abdosql <42894012+abdosql@users.noreply.github.com> Date: Sun, 6 Oct 2024 10:35:57 +0100 Subject: [PATCH] Add recipe for saqqal/llm-integration-bundle (#1679) * Add recipe for saqqal/llm-integration-bundle * Fix manifest.json and add newlines to end of files * add env variables --------- Co-authored-by: abdosql --- .../1.0/config/packages/llm_integration.yaml | 4 ++++ saqqal/llm-integration-bundle/1.0/manifest.json | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 saqqal/llm-integration-bundle/1.0/config/packages/llm_integration.yaml create mode 100644 saqqal/llm-integration-bundle/1.0/manifest.json diff --git a/saqqal/llm-integration-bundle/1.0/config/packages/llm_integration.yaml b/saqqal/llm-integration-bundle/1.0/config/packages/llm_integration.yaml new file mode 100644 index 00000000..e2167451 --- /dev/null +++ b/saqqal/llm-integration-bundle/1.0/config/packages/llm_integration.yaml @@ -0,0 +1,4 @@ +llm_integration: + llm_provider: 'api_together' + llm_api_key: '%env(LLM_PROVIDER_API_KEY)%' + llm_model: '%env(LLM_MODEL)%' diff --git a/saqqal/llm-integration-bundle/1.0/manifest.json b/saqqal/llm-integration-bundle/1.0/manifest.json new file mode 100644 index 00000000..39605a0b --- /dev/null +++ b/saqqal/llm-integration-bundle/1.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Saqqal\\LlmIntegrationBundle\\LlmIntegrationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "LLM_PROVIDER_API_KEY": "your_api_key_here", + "LLM_MODEL": "meta_llama_3_1_8b_instruct_turbo" + } +}