Class AgentWorkflowBase
- Assembly
- FoundationaLLM.Common.dll
Provides a workflow configuration for an agent.
[JsonPolymorphic(TypeDiscriminatorPropertyName = "type")]
[JsonDerivedType(typeof(AzureAIAgentServiceAgentWorkflow), "azure-ai-agent-service-workflow")]
[JsonDerivedType(typeof(AzureOpenAIAssistantsAgentWorkflow), "azure-openai-assistants-workflow")]
[JsonDerivedType(typeof(LangChainExpressionLanguageAgentWorkflow), "langchain-expression-language-workflow")]
[JsonDerivedType(typeof(LangGraphReactAgentWorkflow), "langgraph-react-agent-workflow")]
[JsonDerivedType(typeof(ExternalAgentWorkflow), "external-agent-workflow")]
public class AgentWorkflowBase
- Inheritance
-
AgentWorkflowBase
- Derived
- Inherited Members
- Extension Methods
Properties
AIProjectObjectId
Gets the AI object identifier.
[JsonIgnore]
public string? AIProjectObjectId { get; }
Property Value
ClassName
The class name of the workflow. For internal workflows, this value will be FoundationaLLM For external workflows, this value will be the name of the implementation class.
[JsonPropertyName("class_name")]
public string? ClassName { get; set; }
Property Value
MainAIModelObjectId
Gets the main AI model object identifier.
[JsonIgnore]
public string? MainAIModelObjectId { get; }
Property Value
MainPromptObjectId
Gets the main prompt object identifier.
[JsonIgnore]
public string? MainPromptObjectId { get; }
Property Value
Name
The name of the workflow.
[JsonPropertyName("name")]
public required string Name { get; set; }
Property Value
PackageName
Gets or sets the package name of the workflow. For internal workflows, this value will be FoundationaLLM For external workflows, this value will be the name of the package.
[JsonPropertyName("package_name")]
public required string PackageName { get; set; }
Property Value
Properties
Gets or sets a dictionary of properties that are specific to the workflow.
[JsonPropertyName("properties")]
public Dictionary<string, object>? Properties { get; set; }
Property Value
ResourceObjectIds
Gets or sets a dictionary of resource objects.
[JsonPropertyName("resource_object_ids")]
public Dictionary<string, ResourceObjectIdProperties> ResourceObjectIds { get; set; }
Property Value
RouterPromptObjectId
Gets the router prompt object identifier.
[JsonIgnore]
public string? RouterPromptObjectId { get; }
Property Value
Type
The workflow resource associated with the agent.
[JsonPropertyName("type")]
public virtual string? Type { get; set; }
Property Value
WorkflowHost
The host of the workflow environment.
[JsonPropertyName("workflow_host")]
public string? WorkflowHost { get; set; }