brainlid / langchain

Elixir implementation of a LangChain style framework.
https://hexdocs.pm/langchain/
Other
510 stars 58 forks source link

add "update_custom_context" to LLMChain #18

Closed brainlid closed 9 months ago

brainlid commented 9 months ago

Makes it easy to update the LLMChain's attached custom_context. This is relevant because a Function may alter the data that was passed in through the context. A subsequent Function execution should receive the updated value in the custom_context.