neuron-ai
neuron-ai copied to clipboard
The PHP Agentic Framework to build production-ready AI driven applications. Connect components (LLMs, vector DBs, memory) to agents that can interact with your data. With its modular architecture it's...
//Example class SpeechToTextAgent extends Transcribe { public function transcribe(): TranscribeProviderInterface { return new OpenAITranscribeProvider( config('neuron-ai.providers.openai.api_key'), 'whisper-1', 'es', ); } } //Agent $fullPath = '.../.../.oga' $agent = SpeechToTextAgent::make(); $string = $agent->transcribeAudio(new...
OpenAI API has functionality to upload a file and reuse it in future requests https://platform.openai.com/docs/api-reference/files/create _(same functionality is available for Mistral and Claude)_ This saves a lot of time and...