Skip to content

Commit

Permalink
adds agent docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Jan 16, 2025
1 parent 33639a6 commit 72cdff1
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/reference/experimental/async/agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Agent

::: synapseclient.models.Agent
options:
members:
- register_async
- get_async
- start_session_async
- get_session_async
- prompt_async
- get_chat_history
23 changes: 23 additions & 0 deletions docs/reference/experimental/sync/agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Agent

## Example Script:

<details class="quote">
<summary>Working with a Synapse Agent</summary>

```python
{!docs/scripts/object_orientated_programming_poc/oop_poc_agent.py!}
```
</details>

## API Reference

::: synapseclient.models.Agent
options:
members:
- register
- get
- start_session
- get_session
- prompt
- get_chat_history
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ nav:
- Core: reference/core.md
- REST Apis: reference/rest_apis.md
- Experimental:
- Synchronous:
- Agent: reference/experimental/sync/agent.md
- Asynchronous:
- Agent: reference/experimental/async/agent.md
- Object-Orientated Models: reference/oop/models.md
- Async Object-Orientated Models: reference/oop/models_async.md
- Further Reading:
Expand Down

0 comments on commit 72cdff1

Please sign in to comment.