snowflake.core.cortex.lite_agent_service.CortexAgentService | Snowflake Documentation (original) (raw)

DeveloperSnowflake Python APIsSnowflake Python APIs referencecortex.lite_agent_servicecortex.lite_agent_service.CortexAgentService

class snowflake.core.cortex.lite_agent_service.CortexAgentService(root: Root)

Bases: object

Represents the operations of the Snowflake Cortex Lite Agent Service resource.

Methods

Run(agent_run_request: AgentRunRequest) → SSEClient

The Run method is deprecated; use run instead.

run(agent_run_request: AgentRunRequest) → SSEClient

Perform agent service.

Parameters:

agent_request (AgentRequest) – The agent request object to be sent to the agent service. Defined in ./_generated/models/agent_run_request.py

run_async(agent_run_request: AgentRunRequest) → PollingOperation[SSEClient]

An asynchronous version of Run().

Refer to PollingOperation for more information on asynchronous execution and the return type.