-
Notifications
You must be signed in to change notification settings - Fork 9
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
WebVoyager Baseline Agent & Benchmark #282
base: main
Are you sure you want to change the base?
Conversation
response = self.generate_thought(messages=messages, seed=seed) | ||
prompt_tokens = response.prompt_tokens | ||
completion_tokens = response.completion_tokens | ||
gpt_4v_res = response.output_text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we arent using openai specifically. use the LLM class
}, | ||
) | ||
|
||
def reset( ######## Fix documentation ############# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are u absolutely sure there is no state within this agent?
Returns: | ||
Response: The generated output text from the model. | ||
""" | ||
response = self.llm(messages, max_tokens=max_tokens, seed=seed, timeout=timeout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
structure this into _prompt_*
functions
self, | ||
system_prompt: str, | ||
system_prompt_text_only: str, | ||
seed: int, | ||
max_attached_imgs: int, | ||
temperature: float, | ||
text_only: bool, | ||
task: Dict[str, Any], | ||
obs: Dict[str, Any] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some of these are hyperparameters. some of them are parameters for the generate method. some of them shouldnt even be parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
system prompts should never need to be passed in (refer to all the agents we've implemented thus far)
also doesn't this baseline webvoyager agent have a state? it keeps a history of all the messages. doesn't it? does your implementation consider that?
🤔 Reasoning
Explain the purpose of this PR...
🚧 Changes
Describe the changes made...
✅ PR Checklist