Skip to content

Commit

Permalink
Correct example formatting in docstring for tabbing
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Feb 3, 2025
1 parent b950c6d commit d0071b0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions synapseclient/models/protocols/agent_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,18 +336,18 @@ def prompt(
Example: Prompt the baseline Synapse Agent.
The baseline Synapse Agent is equivilent to the Agent available in the Synapse UI.
from synapseclient import Synapse
from synapseclient.models import Agent
syn = Synapse()
syn.login()
my_agent = Agent()
my_agent.prompt(
prompt="Can you tell me about the AD Knowledge Portal dataset?",
enable_trace=True,
print_response=True,
)
from synapseclient import Synapse
from synapseclient.models import Agent
syn = Synapse()
syn.login()
my_agent = Agent()
my_agent.prompt(
prompt="Can you tell me about the AD Knowledge Portal dataset?",
enable_trace=True,
print_response=True,
)
Example: Prompt a custom agent.
If you have already registered a custom agent, you can prompt it by providing the agent's registration ID.
Expand Down

0 comments on commit d0071b0

Please sign in to comment.