Configuration
A manifest of additional resources and dependencies to run the pipeline.
Example of a data source that needs drivers as well as credentials:
LangStream has built-in support for a few Databases and Vector databases (no need for dependency), for example:
Cassandra (with Vector support)
Cassandra (with Vector support)
DataStax Astra DB
Pinecone
OSS Milvus and Zillis
Apache Solr
OpenSearch
Manifest
Root | Node | Type | Description |
---|---|---|---|
configuration |
|
| Top level node |
| dependencies | object | A collection of artifacts that a pipeline step of resource may need to run. Refer to the spec below. Example collection:
|
| resources | object | A collection of resources. Refer to the spec below. Example collection:
|
dependencies
The given artifact will be downloaded, validated, and made available to the pipeline. \
Label | Type | Description |
---|---|---|
type | string (required) | The type of dependency. Supported values are:
Example: “java-library” |
name | string (required) | The name of the dependency. It is used for display and as a reference pointer. Example: "Postgres JDBC Driver" |
url | string (required) | A fully qualified URL to the dependency artifact. Example: "https://jdbc.postgresql.org/download/postgresql-42.6.0.jar" |
sha512sum | string (required) | The downloaded artifact is validated against this value. Example: "ec3b57d8377715ef6286d457…” |
These dependencies are downloaded by the LangStream CLI when you run "apps deploy", "docker run" and similar commands. This mechanism is especially useful for JDBC Drivers and for Kafka Connect connectors.
To handle Python dependencies, check out the documentation about developing custom Python agents.
resources
Label | Type | Description |
---|---|---|
type | string | The type of resource. Refer to the configuration resources reference for naming. Example: “datasource” |
name | string | The name of the resource. It is used for display and as a reference pointer. Example: "PGDataSource" |
configuration | object | Custom configuration for the given resource. Refer to the configuration resources reference for options. |
Last updated