-
Notifications
You must be signed in to change notification settings - Fork 71
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
Foundation pieces for more capable assistants #61
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* main: Lessen retry delay to 300ms Add retry strategy to OpenAI Chat API requests
* main: preparation for v0.1.3 release
* main: added Utils.ChainResult module - helper functions for working with an LLMChain's result value
* main: expanded comment Pass api_key to request if present in chat Allow passing api_key to ChatOpenAI
* main: updated changelog prep for new v.0.1.4 release document overriding the api endpoint allow overriding OpenAI compatible API endpoint Update Req to 0.4.7 Update Req to version 0.46
* main: updated for v0.1.5 release updated for v0.1.5 release update to 0.1.5 upgrade Req to v0.4.8 - contains a retry fix fix: remove unecessary api_key from json payload
* main: prep for v0.1.6 Fix Req retry delay
- renamed `function_map` to `_function_map` to indicate it is an internal-only data structure - added `verbose_deltas` as separate flag. Exclude the very noisy deltas from verbose output
- simple helper chain for summarizing a user's prompt into a title
- support returning fake error responses
- important for more complex assistants - first pass operation classifies which direction the user's prompt should go - return the desired chain for performing the user's request
* main: removed incorrect comment - the initial API key code was based on an Elixir Stripe library.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New Features
LangChain.Chains.RoutingChain
- first-pass LLM chain to select the best route to take given the user's initial promptLangChain.Chains.TextToTitleChain
- turn the user's prompt into a title for the conversationMinor updates
LLMChain.function_map
toLLMChain._function_map
to indicate it is an internal data structureNotes or TODO items
.call
and.evaluate
? Return types aren't uniform with evaluate.