-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from sotopia-lab/openhands_integration
feat: Adding LLM Agents (Interview setting using openhands) to Sotopia Aact (Experimental)
- Loading branch information
Showing
7 changed files
with
685 additions
and
7 deletions.
There are no files selected for viewing
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
45 changes: 45 additions & 0 deletions
45
examples/experimental/interview_openhands/interview_openhands.toml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
redis_url = "redis://localhost:6379/0" | ||
extra_modules = ["examples.experimental.interview_openhands.llm_agent"] | ||
|
||
|
||
[[nodes]] | ||
node_name = "Jack" | ||
node_class = "llm_agent" | ||
|
||
[nodes.node_args] | ||
query_interval = 5 | ||
output_channel = "Jack:Jane" | ||
input_text_channels = ["Jane:Jack"] | ||
input_env_channels = ["Runtime:Agent"] | ||
input_tick_channel = "tick/secs/1" | ||
goal = "Your goal is to effectively test Jane's technical ability and finally decide if she has passed the interview. Make sure to also evaluate her communication skills, problem-solving approach, and enthusiasm." | ||
model_name = "gpt-4o-mini" | ||
agent_name = "Jack" | ||
|
||
[[nodes]] | ||
node_name = "Jane" | ||
node_class = "llm_agent" | ||
|
||
[nodes.node_args] | ||
query_interval = 7 | ||
output_channel = "Jane:Jack" | ||
input_text_channels = ["Jack:Jane"] | ||
input_env_channels = ["Runtime:Agent"] | ||
input_tick_channel = "tick/secs/1" | ||
goal = "Your goal is to do well in the interview by demonstrating your technical skills, clear communication, and enthusiasm for the position. Stay calm, ask clarifying questions when needed, and confidently explain your thought process." | ||
model_name = "gpt-4o-mini" | ||
agent_name = "Jane" | ||
|
||
[[nodes]] | ||
node_name = "tick" | ||
node_class = "tick" | ||
|
||
|
||
[[nodes]] | ||
node_name = "print" | ||
node_class = "print" | ||
|
||
[nodes.node_args.print_channel_types] | ||
"tick/secs/1" = "tick" | ||
"Jane:Jack" = "agent_action" | ||
"Jack:Jane" = "agent_action" |
Oops, something went wrong.