Proveedor de embeddings
Integra servicios para transformar texto en vectores para la búsqueda semántica.
Proveedores de embeddings disponibles
Ollama
namespace App\Neuron;
use NeuronAI\RAG\Embeddings\EmbeddingsProviderInterface;
use NeuronAI\RAG\Embeddings\OllamaEmbeddingsProvider;
use NeuronAI\RAG\RAG;
class MyRAG extends RAG
{
...
protected function embeddings(): EmbeddingsProviderInterface
{
return new OllamaEmbeddingsProvider(
model: 'OLLAMA_EMBEDDINGS_MODEL'
);
}
}Voyage AI
OpenAI
OpenAILikeEmbeddings
Gemini
Cohere
Aws Bedrock
Implementa un nuevo proveedor
Última actualización