Download the PHP package intelligent-intern/azure-bundle without Composer
On this page you can find all versions of the php package intelligent-intern/azure-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download intelligent-intern/azure-bundle
More information about intelligent-intern/azure-bundle
Files in intelligent-intern/azure-bundle
Package azure-bundle
Short Description Symfony bundle for Azure AI integration
License MIT
Informations about the package azure-bundle
Intelligent Intern Azure Bundle
The intelligent-intern/azure-bundle
integrates Azure OpenAI with the Intelligent Intern Core Framework, allowing seamless AI functionality for embedding generation.
Installation
Install the bundle using Composer:
composer require intelligent-intern/azure-bundle
Configuration
Ensure the following secret is set in vault:
secret/data/data/azure:
api_key: your_azure_api_key
api_endpoint: your_azure_endpoint
deployment_id: your_azure_deployment_id
api_version: the_azure_version
To use the bundle, ensure the AI_PROVIDER
is set to "azure"
.
Usage
Once the bundle is installed and configured, the Core framework will dynamically detect the Azure OpenAI service via the ai.strategy
tag.
The service will be available via the AIServiceFactory
:
Extensibility
This bundle is specifically designed to integrate with intelligent-intern/core
. It leverages the dynamic service discovery mechanism to ensure seamless compatibility.
If you'd like to add additional strategies, simply create a similar bundle that implements the AIServiceInterface
and tag its service with ai.strategy
.
For example:
services:
Your\CustomBundle\Service\CustomAIService:
tags: ['ai.strategy']
License
This bundle is open-sourced software licensed under the MIT license.
All versions of azure-bundle with dependencies
symfony/http-client Version 7.2.*
symfony/dependency-injection Version 7.2.*
symfony/framework-bundle Version 7.2.*
openai-php/client Version 0.10.3