Resources

LangStream Version: 0.6.2

AWS Bedrock (bedrock-configuration)

Connect to AWS Bedrock API.

DescriptionTypeRequiredDefault Value

access-key

Aws access key.

string

endpoint-override

Override default AWS endpoint. Useful for testing and debugging. If using AWS, please only set the region.

string

region

AWS region for Bedrock endpoints.

string

us-east-1

secret-key

Aws secret key.

string

Astra (datasource)

Connect to DataStax Astra Database service.

DescriptionTypeRequiredDefault Value

clientId

Astra Token clientId to use.

string

database

Astra Database name to connect to. If secureBundle is provided, this field is ignored.

string

database-id

Astra Database ID name to connect to. If secureBundle is provided, this field is ignored.

string

environment

Astra environment.

string

PROD

password

DEPRECATED: use secret instead.

string

secret

Astra Token secret to use.

string

secureBundle

Secure bundle of the database. Must be encoded in base64.

string

service

Service type. Set to 'astra'

string

token

Astra Token (AstraCS:xxx) for connecting to the database. If secureBundle is provided, this field is ignored.

string

username

DEPRECATED: use clientId instead.

string

Astra Vector DB (datasource)

Connect to DataStax Astra Vector DB service.

DescriptionTypeRequiredDefault Value

endpoint

API Endpoint.

string

service

Service type. Set to 'astra-vector-db'

string

token

Astra Token (AstraCS:xxx) for connecting to the database.

string

Cassandra (datasource)

Connect to Apache cassandra.

DescriptionTypeRequiredDefault Value

contact-points

Contact points of the cassandra cluster.

string

loadBalancing-localDc

Load balancing local datacenter.

string

password

User password.

string

port

Cassandra port.

integer

9042

service

Service type. Set to 'cassandra'

string

username

User username.

string

JDBC (datasource)

Connect to any JDBC compatible database. The driver must be provided as dependency. All the extra configuration properties are passed as is to the JDBC driver.

DescriptionTypeRequiredDefault Value

driverClass

JDBC entry-point driver class.

string

service

Service type. Set to 'jdbc'

string

url

JDBC connection url.

string

OpenSearch (datasource)

Connect to OpenSearch service or AWS OpenSearch Service/Serverless.

DescriptionTypeRequiredDefault Value

host

Host parameter for connecting to OpenSearch. Valid both for OpenSearch and AWS OpenSearch Service/Serverless.

string

https

Whether to use https or not.

boolean

true

index-name

Name of the index to to connect to.

string

password

Basic authentication for connecting to OpenSearch. In case of AWS OpenSearch Service/Serverless, this is the secret key.

string

port

Port parameter for connecting to OpenSearch service.

integer

9200

region

Region parameter for connecting to AWS OpenSearch Service/Serveless.

string

service

Service type. Set to 'opensearch'

string

username

Basic authentication for connecting to OpenSearch. In case of AWS OpenSearch Service/Serverless, this is the access key.

string

Hugging Face (hugging-face-configuration)

Connect to Hugging Face service.

DescriptionTypeRequiredDefault Value

access-key

The access key to use for "api" provider.

string

api-url

The URL of the Hugging Face API. Relevant only if provider is "api".

string

https://api-inference.huggingface.co/pipeline/feature-extraction/

model-check-url

The model url to use. Relevant only if provider is "api".

string

https://huggingface.co/api/models/

provider

The provider to use. Either "local" or "api".

string

api

Ollama (ollama-configuration)

Connect to Ollama API.

DescriptionTypeRequiredDefault Value

url

URL for the Ollama service.

string

Open AI (open-ai-configuration)

Connect to OpenAI API or Azure OpenAI API.

DescriptionTypeRequiredDefault Value

access-key

The access key to use.

string

provider

The provider to use. Either "openai" or "azure".

string

openai

url

Url for Azure OpenAI API. Required only if provider is "azure".

string

Astra (vector-database)

Connect to DataStax Astra Database service.

DescriptionTypeRequiredDefault Value

clientId

Astra Token clientId to use.

string

database

Astra Database name to connect to. If secureBundle is provided, this field is ignored.

string

database-id

Astra Database ID name to connect to. If secureBundle is provided, this field is ignored.

string

environment

Astra environment.

string

PROD

password

DEPRECATED: use secret instead.

string

secret

Astra Token secret to use.

string

secureBundle

Secure bundle of the database. Must be encoded in base64.

string

service

Service type. Set to 'astra'

string

token

Astra Token (AstraCS:xxx) for connecting to the database. If secureBundle is provided, this field is ignored.

string

username

DEPRECATED: use clientId instead.

string

Astra Vector DB (vector-database)

Connect to DataStax Astra Vector DB service.

DescriptionTypeRequiredDefault Value

endpoint

API Endpoint.

string

service

Service type. Set to 'astra-vector-db'

string

token

Astra Token (AstraCS:xxx) for connecting to the database.

string

Cassandra (vector-database)

Connect to Apache cassandra.

DescriptionTypeRequiredDefault Value

contact-points

Contact points of the cassandra cluster.

string

loadBalancing-localDc

Load balancing local datacenter.

string

password

User password.

string

port

Cassandra port.

integer

9042

service

Service type. Set to 'cassandra'

string

username

User username.

string

Milvus (vector-database)

Connect to Milvus/Zillis service.

DescriptionTypeRequiredDefault Value

host

Host parameter for connecting to Milvus.

string

password

Password parameter for connecting to Milvus.

string

port

Port parameter for connecting to Milvus.

integer

19530

service

Service type. Set to 'milvus'

string

token

Token parameter for connecting to Zillis service.

string

url

Url parameter for connecting to Zillis service.

string

user

User parameter for connecting to Milvus.

string

default

OpenSearch (vector-database)

Connect to OpenSearch service or AWS OpenSearch Service/Serverless.

DescriptionTypeRequiredDefault Value

host

Host parameter for connecting to OpenSearch. Valid both for OpenSearch and AWS OpenSearch Service/Serverless.

string

https

Whether to use https or not.

boolean

true

index-name

Name of the index to to connect to.

string

password

Basic authentication for connecting to OpenSearch. In case of AWS OpenSearch Service/Serverless, this is the secret key.

string

port

Port parameter for connecting to OpenSearch service.

integer

9200

region

Region parameter for connecting to AWS OpenSearch Service/Serveless.

string

service

Service type. Set to 'opensearch'

string

username

Basic authentication for connecting to OpenSearch. In case of AWS OpenSearch Service/Serverless, this is the access key.

string

Pinecone (vector-database)

Connect to Pinecone service.

DescriptionTypeRequiredDefault Value

api-key

Api key for connecting to the Pinecone service.

string

endpoint

Endpoint of the Pinecone service.

string

environment

Environment parameter for connecting to the Pinecone service.

string

index-name

Index name parameter for connecting to the Pinecone service.

string

project-name

Project name parameter for connecting to the Pinecone service.

string

server-side-timeout-sec

Server side timeout parameter for connecting to the Pinecone service.

integer

10

service

Service type. Set to 'pinecone'

string

Solr (vector-database)

Connect to Solr or Solr Cloud service.

DescriptionTypeRequiredDefault Value

collection-name

Collection to use in Solr.

string

host

Host parameter for connecting to Solr.

string

password

Password parameter for connecting to Solr.

string

port

Port parameter for connecting to Solr.

integer

8983

service

Service type. Set to 'solr'

string

user

Username parameter for connecting to Solr.

string

Vertex AI (vertex-configuration)

Connect to VertexAI API.

DescriptionTypeRequiredDefault Value

project

GCP project name for the Vertex API.

string

region

GCP region for the Vertex API.

string

serviceAccountJson

Specify service account credentials. Refer to the GCP documentation on how to download it

string

token

Access key for the Vertex API.

string

url

URL connection for the Vertex API.

string

Last updated