Closed
Conversation
Collaborator
Author
|
trying an alternative approach here: block/goose#68 |
Collaborator
|
+1 on the alternative approaches higher up in goose - i think that'll be more consistent with exchange providing generic message completions and goose having more complex tools |
codefromthecrypt
pushed a commit
to codefromthecrypt/exchange
that referenced
this pull request
Oct 13, 2024
This file contains hidden or 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
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.
This adds in the new o1 openai model in a ensemble pattern that can supplement the processor/gpt-4o type tool calling model, especially useful when writing or checking code (when tool calls are required it will not interfere).
A non ensemble approach: https://github.com/square/exchange/tree/tool_emulation_experiment (but limited success by asking it to do tool calling - worked for a little bit, but not reliable enough in that form).
To try this:
check out this branch and goose together (and add this project as a dependency as described in the CONTRIBUTING.md doc in goose):
OPENAI_REASONING=o1-mini uv run goose session startor
OPENAI_REASONING=o1-preview uv run goose session startThis will tell it to use the o1 models when needed to enhance the work done by the main openai models which do the tool calling. Requires you have openai provider with access to o1 via API
Some possible future direction:
ask_an_aiexchange