PromptAgentDBModel class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
PromptAgentDBModel.new({String? prompt, Llm? llm, double? temperature, int? maxTokens, List<
Object> ? tools, List<String> ? toolIds, List<String> ? mcpServerIds, List<String> ? nativeMcpServerIds, List<KnowledgeBaseLocator> ? knowledgeBase, dynamic customLlm, dynamic ignoreDefaultPersonality, RagConfig? rag, List<String> ? knowledgeBaseDocumentIds}) -
const
-
PromptAgentDBModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- customLlm → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- ignoreDefaultPersonality → dynamic
-
final
-
knowledgeBase
→ List<
KnowledgeBaseLocator> ? -
final
-
knowledgeBaseDocumentIds
→ List<
String> ? -
final
- llm → Llm?
-
final
- maxTokens → int?
-
final
-
mcpServerIds
→ List<
String> ? -
final
-
nativeMcpServerIds
→ List<
String> ? -
final
- prompt → String?
-
final
- rag → RagConfig?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- temperature → double?
-
final
-
toolIds
→ List<
String> ? -
final
-
tools
→ List<
Object> ? -
final
Methods
-
copyWith(
{String? prompt, Llm? llm, double? temperature, int? maxTokens, List< Object> ? tools, List<String> ? toolIds, List<String> ? mcpServerIds, List<String> ? nativeMcpServerIds, List<KnowledgeBaseLocator> ? knowledgeBase, dynamic customLlm, dynamic ignoreDefaultPersonality, RagConfig? rag, List<String> ? knowledgeBaseDocumentIds}) → PromptAgentDBModel -
Available on PromptAgentDBModel, provided by the $PromptAgentDBModelExtension extension
-
copyWithWrapped(
{Wrapped< String?> ? prompt, Wrapped<Llm?> ? llm, Wrapped<double?> ? temperature, Wrapped<int?> ? maxTokens, Wrapped<List< ? tools, Wrapped<Object> ?>List< ? toolIds, Wrapped<String> ?>List< ? mcpServerIds, Wrapped<String> ?>List< ? nativeMcpServerIds, Wrapped<String> ?>List< ? knowledgeBase, Wrapped? customLlm, Wrapped? ignoreDefaultPersonality, Wrapped<KnowledgeBaseLocator> ?>RagConfig?> ? rag, Wrapped<List< ? knowledgeBaseDocumentIds}) → PromptAgentDBModelString> ?> -
Available on PromptAgentDBModel, provided by the $PromptAgentDBModelExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
llmLlmNullableFromJson(
Object? value) → Llm?
Constants
-
fromJsonFactory
→ const PromptAgentDBModel Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(PromptAgentDBModel instance)