Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Utils.ChainResult module #45

Merged
merged 1 commit into from
Dec 3, 2023
Merged

Conversation

brainlid
Copy link
Owner

@brainlid brainlid commented Dec 3, 2023

  • helper functions for working with an LLMChain's result value
  • added to_string/1 and to_string!/1 function to return the assistant's response as a string. Returns error for various invalid cases.
  • added to_map/3 and to_map!/3 function for writing the assistant's response to a map under a desired key.
  • tests

- helper functions for working with an LLMChain's result value
@brainlid brainlid merged commit 749731a into main Dec 3, 2023
1 check passed
@brainlid brainlid deleted the me-add-chain-result-util-module branch December 3, 2023 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant