steamship.agents.examples package#


steamship.agents.examples.my_assistant module#

class steamship.agents.examples.my_assistant.MyAssistant(**kwargs)[source]#

Bases: AgentService

MyAssistant is an example AgentService that exposes a single test endpoint for trying out Agent-based invocations. It is configured with two simple Tools to provide an overview of the types of tasks it can accomplish (here, search and image generation).

prompt(prompt: str) str[source]#

Run an agent with the provided text as the input.

Module contents#