Create Flex endpoint

This commit is contained in:
github-action[bot]
2026-03-23 09:44:32 +00:00
commit 5b93c9d43d
2 changed files with 82 additions and 0 deletions

24
index.json Normal file
View File

@@ -0,0 +1,24 @@
{
"aliases": {
"ai": "symfony/ai-bundle",
"ai-bundle": "symfony/ai-bundle",
"aibundle": "symfony/ai-bundle"
},
"recipes": {
"symfony/ai-bundle": [
"0.1"
]
},
"recipe-conflicts": [],
"versions": [],
"branch": "main",
"is_contrib": false,
"_links": {
"repository": "github.com/symfony/recipes",
"origin_template": "{package}:{version}@github.com/symfony/recipes:main",
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1522/{package_dotted}.{version}.json",
"recipe_template_relative": "{package_dotted}.{version}.json",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1522/archived/{package_dotted}/{ref}.json",
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
}
}

View File

@@ -0,0 +1,58 @@
{
"manifests": {
"symfony/ai-bundle": {
"manifest": {
"bundles": {
"Symfony\\AI\\AiBundle\\AiBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
" * Choose an inference platform and install the corresponding bridge",
"",
" * For example <fg=green>OpenAI</> with the <fg=green>symfony/ai-open-ai-platform</> package",
" or <fg=green>Anthropic</> with the <fg=green>symfony/ai-anthropic-platform</> package"
]
},
"files": {
"config/packages/ai.yaml": {
"contents": [
"ai:",
" platform:",
" # Inference Platform configuration",
" # see https://github.com/symfony/ai/tree/main/src/platform#platform-bridges",
"",
" # openai:",
" # api_key: '%env(OPENAI_API_KEY)%'",
"",
" agent:",
" # Agent configuration",
" # see https://symfony.com/doc/current/ai/bundles/ai-bundle.html",
"",
" # default:",
" # platform: 'ai.platform.openai'",
" # model: 'gpt-5-mini'",
" # prompt: |",
" # You are a pirate and you write funny.",
" # tools:",
" # - 'Symfony\\AI\\Agent\\Bridge\\Clock\\Clock'",
"",
" store:",
" # Store configuration",
"",
" # chromadb:",
" # default:",
" # client: 'client.service.id'",
" # collection: 'my_collection'",
""
],
"executable": false
}
},
"ref": "2be6ccd77335c2631fdf12d1680649b072efb8ad"
}
}
}