Resources
LangStream Version: 0.6.2
AWS Bedrock (bedrock-configuration
)
bedrock-configuration
)Connect to AWS Bedrock API.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Aws access key. | string | ✓ | |
| Override default AWS endpoint. Useful for testing and debugging. If using AWS, please only set the region. | string | ||
| AWS region for Bedrock endpoints. | string | us-east-1 | |
| Aws secret key. | string | ✓ |
Astra (datasource
)
datasource
)Connect to DataStax Astra Database service.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Astra Token clientId to use. | string | ✓ | |
| Astra Database name to connect to. If secureBundle is provided, this field is ignored. | string | ||
| Astra Database ID name to connect to. If secureBundle is provided, this field is ignored. | string | ||
| Astra environment. | string | PROD | |
| DEPRECATED: use secret instead. | string | ||
| Astra Token secret to use. | string | ✓ | |
| Secure bundle of the database. Must be encoded in base64. | string | ||
| Service type. Set to 'astra' | string | ✓ | |
| Astra Token (AstraCS:xxx) for connecting to the database. If secureBundle is provided, this field is ignored. | string | ||
| DEPRECATED: use clientId instead. | string |
Astra Vector DB (datasource
)
datasource
)Connect to DataStax Astra Vector DB service.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| API Endpoint. | string | ||
| Service type. Set to 'astra-vector-db' | string | ✓ | |
| Astra Token (AstraCS:xxx) for connecting to the database. | string |
Cassandra (datasource
)
datasource
)Connect to Apache cassandra.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Contact points of the cassandra cluster. | string | ✓ | |
| Load balancing local datacenter. | string | ✓ | |
| User password. | string | ||
| Cassandra port. | integer | 9042 | |
| Service type. Set to 'cassandra' | string | ✓ | |
| User username. | string |
JDBC (datasource
)
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.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| JDBC entry-point driver class. | string | ✓ | |
| Service type. Set to 'jdbc' | string | ✓ | |
| JDBC connection url. | string | ✓ |
OpenSearch (datasource
)
datasource
)Connect to OpenSearch service or AWS OpenSearch Service/Serverless.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Host parameter for connecting to OpenSearch. Valid both for OpenSearch and AWS OpenSearch Service/Serverless. | string | ✓ | |
| Whether to use https or not. | boolean | true | |
| Name of the index to to connect to. | string | ✓ | |
| Basic authentication for connecting to OpenSearch. In case of AWS OpenSearch Service/Serverless, this is the secret key. | string | ||
| Port parameter for connecting to OpenSearch service. | integer | 9200 | |
| Region parameter for connecting to AWS OpenSearch Service/Serveless. | string | ||
| Service type. Set to 'opensearch' | string | ✓ | |
| Basic authentication for connecting to OpenSearch. In case of AWS OpenSearch Service/Serverless, this is the access key. | string |
Hugging Face (hugging-face-configuration
)
hugging-face-configuration
)Connect to Hugging Face service.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| The access key to use for "api" provider. | string | ||
| The URL of the Hugging Face API. Relevant only if provider is "api". | string | https://api-inference.huggingface.co/pipeline/feature-extraction/ | |
| The model url to use. Relevant only if provider is "api". | string | https://huggingface.co/api/models/ | |
| The provider to use. Either "local" or "api". | string | api |
Ollama (ollama-configuration
)
ollama-configuration
)Connect to Ollama API.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| URL for the Ollama service. | string | ✓ |
Open AI (open-ai-configuration
)
open-ai-configuration
)Connect to OpenAI API or Azure OpenAI API.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| The access key to use. | string | ✓ | |
| The provider to use. Either "openai" or "azure". | string | openai | |
| Url for Azure OpenAI API. Required only if provider is "azure". | string |
Astra (vector-database
)
vector-database
)Connect to DataStax Astra Database service.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Astra Token clientId to use. | string | ✓ | |
| Astra Database name to connect to. If secureBundle is provided, this field is ignored. | string | ||
| Astra Database ID name to connect to. If secureBundle is provided, this field is ignored. | string | ||
| Astra environment. | string | PROD | |
| DEPRECATED: use secret instead. | string | ||
| Astra Token secret to use. | string | ✓ | |
| Secure bundle of the database. Must be encoded in base64. | string | ||
| Service type. Set to 'astra' | string | ✓ | |
| Astra Token (AstraCS:xxx) for connecting to the database. If secureBundle is provided, this field is ignored. | string | ||
| DEPRECATED: use clientId instead. | string |
Astra Vector DB (vector-database
)
vector-database
)Connect to DataStax Astra Vector DB service.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| API Endpoint. | string | ||
| Service type. Set to 'astra-vector-db' | string | ✓ | |
| Astra Token (AstraCS:xxx) for connecting to the database. | string |
Cassandra (vector-database
)
vector-database
)Connect to Apache cassandra.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Contact points of the cassandra cluster. | string | ✓ | |
| Load balancing local datacenter. | string | ✓ | |
| User password. | string | ||
| Cassandra port. | integer | 9042 | |
| Service type. Set to 'cassandra' | string | ✓ | |
| User username. | string |
Milvus (vector-database
)
vector-database
)Connect to Milvus/Zillis service.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Host parameter for connecting to Milvus. | string | ||
| Password parameter for connecting to Milvus. | string | ||
| Port parameter for connecting to Milvus. | integer | 19530 | |
| Service type. Set to 'milvus' | string | ✓ | |
| Token parameter for connecting to Zillis service. | string | ||
| Url parameter for connecting to Zillis service. | string | ||
| User parameter for connecting to Milvus. | string | default |
OpenSearch (vector-database
)
vector-database
)Connect to OpenSearch service or AWS OpenSearch Service/Serverless.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Host parameter for connecting to OpenSearch. Valid both for OpenSearch and AWS OpenSearch Service/Serverless. | string | ✓ | |
| Whether to use https or not. | boolean | true | |
| Name of the index to to connect to. | string | ✓ | |
| Basic authentication for connecting to OpenSearch. In case of AWS OpenSearch Service/Serverless, this is the secret key. | string | ||
| Port parameter for connecting to OpenSearch service. | integer | 9200 | |
| Region parameter for connecting to AWS OpenSearch Service/Serveless. | string | ||
| Service type. Set to 'opensearch' | string | ✓ | |
| Basic authentication for connecting to OpenSearch. In case of AWS OpenSearch Service/Serverless, this is the access key. | string |
Pinecone (vector-database
)
vector-database
)Connect to Pinecone service.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Api key for connecting to the Pinecone service. | string | ✓ | |
| Endpoint of the Pinecone service. | string | ||
| Environment parameter for connecting to the Pinecone service. | string | ✓ | |
| Index name parameter for connecting to the Pinecone service. | string | ✓ | |
| Project name parameter for connecting to the Pinecone service. | string | ✓ | |
| Server side timeout parameter for connecting to the Pinecone service. | integer | 10 | |
| Service type. Set to 'pinecone' | string | ✓ |
Solr (vector-database
)
vector-database
)Connect to Solr or Solr Cloud service.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| Collection to use in Solr. | string | ||
| Host parameter for connecting to Solr. | string | ||
| Password parameter for connecting to Solr. | string | ||
| Port parameter for connecting to Solr. | integer | 8983 | |
| Service type. Set to 'solr' | string | ✓ | |
| Username parameter for connecting to Solr. | string |
Vertex AI (vertex-configuration
)
vertex-configuration
)Connect to VertexAI API.
Description | Type | Required | Default Value | |
---|---|---|---|---|
| GCP project name for the Vertex API. | string | ✓ | |
| GCP region for the Vertex API. | string | ✓ | |
| Specify service account credentials. Refer to the GCP documentation on how to download it | string | ||
| Access key for the Vertex API. | string | ||
| URL connection for the Vertex API. | string | ✓ |
Last updated