-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
30 additions
and
254 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,32 @@ | ||
# TODO add example run code here | ||
|
||
import asyncio | ||
|
||
# Agents examples | ||
from .agents.auto_plan_agent_dialogue_example import main as auto_plan_main | ||
from .agents.awel_layout_agents_chat_examples import main as awel_layout_main | ||
from .agents.custom_tool_agent_example import main as custom_tool_main | ||
from .agents.plugin_agent_dialogue_example import main as plugin_main | ||
from .agents.retrieve_summary_agent_dialogue_example import ( | ||
main as retrieve_summary_main, | ||
) | ||
from .agents.sandbox_code_agent_example import main as sandbox_code_main | ||
from .agents.single_agent_dialogue_example import main as single_agent_main | ||
from .agents.sql_agent_dialogue_example import main as sql_main | ||
|
||
if __name__ == "__main__": | ||
|
||
# Run the examples | ||
|
||
## Agent examples | ||
asyncio.run(auto_plan_main()) | ||
asyncio.run(awel_layout_main()) | ||
asyncio.run(custom_tool_main()) | ||
asyncio.run(retrieve_summary_main()) | ||
asyncio.run(plugin_main()) | ||
asyncio.run(sandbox_code_main()) | ||
asyncio.run(single_agent_main()) | ||
asyncio.run(sql_main()) | ||
|
||
## awel examples | ||
print("hello world!") |
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
118 changes: 0 additions & 118 deletions
118
examples/notebook/agent_auto_plan_dialogue_example.ipynb
This file was deleted.
Oops, something went wrong.
135 changes: 0 additions & 135 deletions
135
examples/notebook/agent_awel_layout_dialogue_example.ipynb
This file was deleted.
Oops, something went wrong.