BaseMindClient class

Constructors

BaseMindClient(String apiToken, [String? promptConfigId, ClientOptions? options])
Instantiates and returns BaseMindClient instance.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the gRPC channel and cancels pending RPC calls.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPrompt(Map<String, String>? templateVariables) Future<PromptResponse>
Requests an AI prompt. The prompt is returned as a single response.
requestStream(Map<String, String>? templateVariables) Stream<StreamingPromptResponse>
Requests an AI streaming prompt. The prompt is streamed from the API gateway in chunks.
toString() String
A string representation of this object.
inherited

Operators

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