forked from agiresearch/AIOS
-
Notifications
You must be signed in to change notification settings - Fork 0
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
7 changed files
with
75 additions
and
51 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
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
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,25 @@ | ||
.. _agent_database: | ||
|
||
Web UI | ||
============== | ||
|
||
You can interact with the web UI through the frontend, and the command line. | ||
|
||
Here is a curl example: | ||
|
||
.. code-block:: bash | ||
curl -X POST "http://localhost:8000/add_agent" \ | ||
-H "accept: application/json" \ | ||
-d "{ \"agent_name\": \"example/transcribe_agent\", \ | ||
\"task_input\": \"Listen to me for a few seconds then respond to me\" }" | ||
Then you get a process PID, which you can execute at will: | ||
|
||
.. code-block:: bash | ||
curl -G -d "pid=1234" "http://localhost:8000/execute_agent" | ||
You can also list all agents: | ||
|
||
.. code-block:: bash | ||
curl "http://localhost:8000/get_all_agents" |
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
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
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
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