[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:
Oskar Stark
2025-12-18 10:48:02 +01:00
parent 2dfcf7a1ba
commit a5d6b412ef
52 changed files with 302 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
ai:
platform:
aimlapi:
api_key: '%env(AIMLAPI_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"AIMLAPI_API_KEY": ""
}
}

View File

@@ -0,0 +1,5 @@
ai:
platform:
albert:
api_key: '%env(ALBERT_API_KEY)%'
base_url: '%env(ALBERT_BASE_URL)%'

View File

@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"ALBERT_API_KEY": "",
"#1": "ALBERT_BASE_URL=https://api.albert.ai/v1"
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
anthropic:
api_key: '%env(ANTHROPIC_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"ANTHROPIC_API_KEY": ""
}
}

View File

@@ -0,0 +1,6 @@
ai:
platform:
azure:
api_key: '%env(AZURE_API_KEY)%'
base_url: '%env(AZURE_BASE_URL)%'
deployment: '%env(AZURE_DEPLOYMENT)%'

View 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"
}
}

View File

@@ -0,0 +1,3 @@
ai:
platform:
bedrock: null

View File

@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,5 @@
ai:
platform:
cartesia:
api_key: '%env(CARTESIA_API_KEY)%'
version: '%env(CARTESIA_VERSION)%'

View File

@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"CARTESIA_API_KEY": "",
"#1": "CARTESIA_VERSION=2024-06-10"
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
cerebras:
api_key: '%env(CEREBRAS_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"CEREBRAS_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
decart:
api_key: '%env(DECART_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"DECART_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
deepseek:
api_key: '%env(DEEPSEEK_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"DEEPSEEK_API_KEY": ""
}
}

View File

@@ -0,0 +1,3 @@
ai:
platform:
docker_model_runner: null

View File

@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
elevenlabs:
api_key: '%env(ELEVENLABS_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"ELEVENLABS_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
gemini:
api_key: '%env(GEMINI_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"GEMINI_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
generic:
base_url: '%env(GENERIC_BASE_URL)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "GENERIC_BASE_URL=https://api.example.com/v1"
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
huggingface:
api_key: '%env(HUGGINGFACE_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"HUGGINGFACE_API_KEY": ""
}
}

View File

@@ -0,0 +1,3 @@
ai:
platform:
lmstudio: null

View File

@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
meta:
api_key: '%env(META_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"META_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
mistral:
api_key: '%env(MISTRAL_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"MISTRAL_API_KEY": ""
}
}

View File

@@ -0,0 +1,3 @@
ai:
platform:
ollama: null

View File

@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
openai:
api_key: '%env(OPENAI_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"OPENAI_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
openrouter:
api_key: '%env(OPENROUTER_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"OPENROUTER_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
perplexity:
api_key: '%env(PERPLEXITY_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"PERPLEXITY_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
replicate:
api_key: '%env(REPLICATE_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"REPLICATE_API_KEY": ""
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
scaleway:
api_key: '%env(SCALEWAY_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"SCALEWAY_API_KEY": ""
}
}

View File

@@ -0,0 +1,3 @@
ai:
platform:
transformersphp: null

View File

@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,5 @@
ai:
platform:
vertexai:
project_id: '%env(VERTEX_AI_PROJECT_ID)%'
location: '%env(VERTEX_AI_LOCATION)%'

View 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"
}
}

View File

@@ -0,0 +1,4 @@
ai:
platform:
voyage:
api_key: '%env(VOYAGE_API_KEY)%'

View File

@@ -0,0 +1,8 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"VOYAGE_API_KEY": ""
}
}