AgentFromCodeOptions(AgentVersionFromCodeMetadata, BinaryData) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AgentFromCodeOptions.
public AgentFromCodeOptions(Azure.AI.Projects.Agents.AgentVersionFromCodeMetadata metadata, BinaryData code);
new Azure.AI.Projects.Agents.AgentFromCodeOptions : Azure.AI.Projects.Agents.AgentVersionFromCodeMetadata * BinaryData -> Azure.AI.Projects.Agents.AgentFromCodeOptions
Public Sub New (metadata As AgentVersionFromCodeMetadata, code As BinaryData)
Parameters
- metadata
- AgentVersionFromCodeMetadata
JSON metadata including description and hosted definition.
- code
- BinaryData
The code zip file (max 250 MB).
Exceptions
metadata or code is null.