महत्वपूर्ण types में
AgentDefinition, RunOptions, RunResult, RunRecord, RunStep, Tool, ToolDecision, ToolOutput, RuntimeContext, StateAccessor, ModelRetryConfig और ToolExecutionConfig शामिल हैं।
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Go Agent SDK के मुख्य types और methods देखें।
| API | उद्देश्य |
|---|---|
CreateAgent(...) | एजेंट तय करें |
DefineTool(...) | स्थानीय या मैन्युअल टूल तय करें |
CreateGatewayAgentClient(...) | मॉडल टर्न को Phaseo से जोड़ें |
Agent.Run(...) | पूरा होने या रुकने तक चलाएँ |
Agent.Stream(...) | दोबारा चलाए जा सकने वाले stream consumer के साथ चलाएँ |
Agent.Continue(...) | सहेजी या रुकी स्थिति जारी रखें |
StreamResult.Result() | पूरे हुए रन को पढ़ें |
StreamResult.Text() | टेक्स्ट अंश पढ़ें |
StreamResult.Events() | सभी इवेंट पढ़ें |
StreamResult.Cancel() | सक्रिय रन रद्द करें |
AgentDefinition, RunOptions, RunResult, RunRecord, RunStep, Tool, ToolDecision, ToolOutput, RuntimeContext, StateAccessor, ModelRetryConfig और ToolExecutionConfig शामिल हैं।
वाज़ दिस पेज हेल्पफुल