Skip to content

Commit

Permalink
updates agent docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Jan 16, 2025
1 parent 72cdff1 commit 7a3fd13
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 7 deletions.
26 changes: 20 additions & 6 deletions docs/reference/experimental/async/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,23 @@
::: synapseclient.models.Agent
options:
members:
- register_async
- get_async
- start_session_async
- get_session_async
- prompt_async
- get_chat_history
- register_async
- get_async
- start_session_async
- get_session_async
- prompt_async
- get_chat_history
---
::: synapseclient.models.AgentSession
options:
members:
- start_async
- get_async
- update_async
- prompt_async
---
::: synapseclient.models.AgentPrompt
options:
members:
- send_job_and_wait_async
---
11 changes: 11 additions & 0 deletions docs/reference/experimental/sync/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,14 @@
- get_session
- prompt
- get_chat_history
---
::: synapseclient.models.AgentSession
options:
members:
- start
- get
- update
- prompt
---
::: synapseclient.models.AgentPrompt
---
8 changes: 7 additions & 1 deletion synapseclient/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# These are all of the models that are used by the Synapse client.
from synapseclient.models.activity import Activity, UsedEntity, UsedURL
from synapseclient.models.agent import Agent, AgentSession, AgentSessionAccessLevel
from synapseclient.models.agent import (
Agent,
AgentSession,
AgentSessionAccessLevel,
AgentPrompt,
)
from synapseclient.models.annotations import Annotations
from synapseclient.models.file import File, FileHandle
from synapseclient.models.folder import Folder
Expand Down Expand Up @@ -42,4 +47,5 @@
"Agent",
"AgentSession",
"AgentSessionAccessLevel",
"AgentPrompt",
]

0 comments on commit 7a3fd13

Please sign in to comment.