LangStream / langstream

LangStream. Event-Driven Developer Platform for Building and Running LLM AI Apps. Powered by Kubernetes and Kafka.
https://langstream.ai
Apache License 2.0
379 stars 28 forks source link

[python agents] Allow to access resources configured in configuration.yaml #692

Closed eolivelli closed 8 months ago

eolivelli commented 8 months ago

Summary:

With this change you can declare the access to DataSources/Vector Database and to AI service providers only once in your application, then in Python you can use the values. This way there is no need to add boilerplate to map the access keys in the pipeline files.

In python now you can access resources and globals: