AgentAIConnector class

Available extensions
Annotations
  • @artifact

Constructors

AgentAIConnector.new({required AgentAIConnectorType type, String? baseUrl, String? apiKey, required String model})
const

Properties

apiKey String?
final
baseUrl String?
final
hashCode int
The hash code for this object.
no setterinherited
model String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AgentAIConnectorType
final

Methods

copyWith({_c? type, _3? baseUrl, _b deleteBaseUrl = _F, _3? apiKey, _b deleteApiKey = _F, _3? model}) → _8

Available on _8, provided by the $AgentAIConnector extension

createChatModel(List<ToolSpec> tools) → BaseChatModel<ChatModelOptions>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = _F}) → _3

Available on _8, provided by the $AgentAIConnector extension

toMap() → _1

Available on _8, provided by the $AgentAIConnector extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited