File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
synapseclient/models/protocols Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -336,18 +336,18 @@ def prompt(
336
336
Example: Prompt the baseline Synapse Agent.
337
337
The baseline Synapse Agent is equivilent to the Agent available in the Synapse UI.
338
338
339
- from synapseclient import Synapse
340
- from synapseclient.models import Agent
341
-
342
- syn = Synapse()
343
- syn.login()
344
-
345
- my_agent = Agent()
346
- my_agent.prompt(
347
- prompt="Can you tell me about the AD Knowledge Portal dataset?",
348
- enable_trace=True,
349
- print_response=True,
350
- )
339
+ from synapseclient import Synapse
340
+ from synapseclient.models import Agent
341
+
342
+ syn = Synapse()
343
+ syn.login()
344
+
345
+ my_agent = Agent()
346
+ my_agent.prompt(
347
+ prompt="Can you tell me about the AD Knowledge Portal dataset?",
348
+ enable_trace=True,
349
+ print_response=True,
350
+ )
351
351
352
352
Example: Prompt a custom agent.
353
353
If you have already registered a custom agent, you can prompt it by providing the agent's registration ID.
You can’t perform that action at this time.
0 commit comments