MongoDBAtlas
yaml
type: "io.kestra.plugin.ai.embeddings.mongodbatlas"
Examples
yaml
id: document_ingestion
namespace: company.ai
tasks:
- id: ingest
type: io.kestra.plugin.ai.rag.IngestDocument
provider:
type: io.kestra.plugin.ai.provider.GoogleGemini
modelName: gemini-embedding-exp-03-07
apiKey: "{{ kv('GEMINI_API_KEY') }}"
embeddings:
type: io.kestra.plugin.ai.embeddings.MongoDBAtlas
username: "{{ kv('MONGODB_ATLAS_USERNAME') }}"
password: "{{ kv('MONGODB_ATLAS_PASSWORD') }}"
host: "{{ kv('MONGODB_ATLAS_HOST') }}"
database: "{{ kv('MONGODB_ATLAS_DATABASE') }}"
collectionName: embeddings
indexName: embeddings
fromExternalURLs:
- https://raw.githubusercontent.com/kestra-io/docs/refs/heads/main/content/blogs/release-0-24.md
Properties
collectionName *Requiredstring
host *Requiredstring
indexName *Requiredstring
scheme *Requiredstring
createIndex booleanstring
database string
metadataFieldNames array
SubType string