mirror of
https://github.com/symfony/recipes.git
synced 2026-03-23 23:32:10 +01:00
[AI] Add recipes for all AI platform bridges
Add 0.1 recipes for all symfony/ai-*-platform packages that configure the ai.platform key in ai.yaml with appropriate environment variables. Platforms included: - ai-ml-api, albert, anthropic, azure, bedrock, cartesia, cerebras - decart, deep-seek, docker-model-runner, eleven-labs, gemini - generic, hugging-face, lm-studio, meta, mistral, ollama - open-ai, open-router, perplexity, replicate, scaleway - transformers-php, vertex-ai, voyage
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
aimlapi:
|
||||
api_key: '%env(AIMLAPI_API_KEY)%'
|
||||
8
symfony/ai-ai-ml-api-platform/0.1/manifest.json
Normal file
8
symfony/ai-ai-ml-api-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"AIMLAPI_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ai:
|
||||
platform:
|
||||
albert:
|
||||
api_key: '%env(ALBERT_API_KEY)%'
|
||||
base_url: '%env(ALBERT_BASE_URL)%'
|
||||
9
symfony/ai-albert-platform/0.1/manifest.json
Normal file
9
symfony/ai-albert-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"ALBERT_API_KEY": "",
|
||||
"#1": "ALBERT_BASE_URL=https://api.albert.ai/v1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
anthropic:
|
||||
api_key: '%env(ANTHROPIC_API_KEY)%'
|
||||
8
symfony/ai-anthropic-platform/0.1/manifest.json
Normal file
8
symfony/ai-anthropic-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"ANTHROPIC_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
ai:
|
||||
platform:
|
||||
azure:
|
||||
api_key: '%env(AZURE_API_KEY)%'
|
||||
base_url: '%env(AZURE_BASE_URL)%'
|
||||
deployment: '%env(AZURE_DEPLOYMENT)%'
|
||||
10
symfony/ai-azure-platform/0.1/manifest.json
Normal file
10
symfony/ai-azure-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"AZURE_API_KEY": "",
|
||||
"#1": "AZURE_BASE_URL=https://YOUR_RESOURCE_NAME.openai.azure.com",
|
||||
"#2": "AZURE_DEPLOYMENT=YOUR_DEPLOYMENT_NAME"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
ai:
|
||||
platform:
|
||||
bedrock: null
|
||||
5
symfony/ai-bedrock-platform/0.1/manifest.json
Normal file
5
symfony/ai-bedrock-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ai:
|
||||
platform:
|
||||
cartesia:
|
||||
api_key: '%env(CARTESIA_API_KEY)%'
|
||||
version: '%env(CARTESIA_VERSION)%'
|
||||
9
symfony/ai-cartesia-platform/0.1/manifest.json
Normal file
9
symfony/ai-cartesia-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"CARTESIA_API_KEY": "",
|
||||
"#1": "CARTESIA_VERSION=2024-06-10"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
cerebras:
|
||||
api_key: '%env(CEREBRAS_API_KEY)%'
|
||||
8
symfony/ai-cerebras-platform/0.1/manifest.json
Normal file
8
symfony/ai-cerebras-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"CEREBRAS_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
decart:
|
||||
api_key: '%env(DECART_API_KEY)%'
|
||||
8
symfony/ai-decart-platform/0.1/manifest.json
Normal file
8
symfony/ai-decart-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"DECART_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
deepseek:
|
||||
api_key: '%env(DEEPSEEK_API_KEY)%'
|
||||
8
symfony/ai-deep-seek-platform/0.1/manifest.json
Normal file
8
symfony/ai-deep-seek-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"DEEPSEEK_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
ai:
|
||||
platform:
|
||||
docker_model_runner: null
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
elevenlabs:
|
||||
api_key: '%env(ELEVENLABS_API_KEY)%'
|
||||
8
symfony/ai-eleven-labs-platform/0.1/manifest.json
Normal file
8
symfony/ai-eleven-labs-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"ELEVENLABS_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
gemini:
|
||||
api_key: '%env(GEMINI_API_KEY)%'
|
||||
8
symfony/ai-gemini-platform/0.1/manifest.json
Normal file
8
symfony/ai-gemini-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"GEMINI_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
generic:
|
||||
base_url: '%env(GENERIC_BASE_URL)%'
|
||||
8
symfony/ai-generic-platform/0.1/manifest.json
Normal file
8
symfony/ai-generic-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "GENERIC_BASE_URL=https://api.example.com/v1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
huggingface:
|
||||
api_key: '%env(HUGGINGFACE_API_KEY)%'
|
||||
8
symfony/ai-hugging-face-platform/0.1/manifest.json
Normal file
8
symfony/ai-hugging-face-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"HUGGINGFACE_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
ai:
|
||||
platform:
|
||||
lmstudio: null
|
||||
5
symfony/ai-lm-studio-platform/0.1/manifest.json
Normal file
5
symfony/ai-lm-studio-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
meta:
|
||||
api_key: '%env(META_API_KEY)%'
|
||||
8
symfony/ai-meta-platform/0.1/manifest.json
Normal file
8
symfony/ai-meta-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"META_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
mistral:
|
||||
api_key: '%env(MISTRAL_API_KEY)%'
|
||||
8
symfony/ai-mistral-platform/0.1/manifest.json
Normal file
8
symfony/ai-mistral-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"MISTRAL_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
ai:
|
||||
platform:
|
||||
ollama: null
|
||||
5
symfony/ai-ollama-platform/0.1/manifest.json
Normal file
5
symfony/ai-ollama-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
openai:
|
||||
api_key: '%env(OPENAI_API_KEY)%'
|
||||
8
symfony/ai-open-ai-platform/0.1/manifest.json
Normal file
8
symfony/ai-open-ai-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"OPENAI_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
openrouter:
|
||||
api_key: '%env(OPENROUTER_API_KEY)%'
|
||||
8
symfony/ai-open-router-platform/0.1/manifest.json
Normal file
8
symfony/ai-open-router-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"OPENROUTER_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
perplexity:
|
||||
api_key: '%env(PERPLEXITY_API_KEY)%'
|
||||
8
symfony/ai-perplexity-platform/0.1/manifest.json
Normal file
8
symfony/ai-perplexity-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"PERPLEXITY_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
replicate:
|
||||
api_key: '%env(REPLICATE_API_KEY)%'
|
||||
8
symfony/ai-replicate-platform/0.1/manifest.json
Normal file
8
symfony/ai-replicate-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"REPLICATE_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
scaleway:
|
||||
api_key: '%env(SCALEWAY_API_KEY)%'
|
||||
8
symfony/ai-scaleway-platform/0.1/manifest.json
Normal file
8
symfony/ai-scaleway-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"SCALEWAY_API_KEY": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
ai:
|
||||
platform:
|
||||
transformersphp: null
|
||||
5
symfony/ai-transformers-php-platform/0.1/manifest.json
Normal file
5
symfony/ai-transformers-php-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ai:
|
||||
platform:
|
||||
vertexai:
|
||||
project_id: '%env(VERTEX_AI_PROJECT_ID)%'
|
||||
location: '%env(VERTEX_AI_LOCATION)%'
|
||||
9
symfony/ai-vertex-ai-platform/0.1/manifest.json
Normal file
9
symfony/ai-vertex-ai-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "VERTEX_AI_PROJECT_ID=your-project-id",
|
||||
"#2": "VERTEX_AI_LOCATION=us-central1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ai:
|
||||
platform:
|
||||
voyage:
|
||||
api_key: '%env(VOYAGE_API_KEY)%'
|
||||
8
symfony/ai-voyage-platform/0.1/manifest.json
Normal file
8
symfony/ai-voyage-platform/0.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"VOYAGE_API_KEY": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user