ravendb
Version:
RavenDB client for Node.js
33 lines • 1.5 kB
TypeScript
import { AbstractAiSettings } from "./AbstractAiSettings.js";
import { AiSettingsCompareDifferences } from "../AiSettingsCompareDifferences.js";
/**
* The configuration for the Ollama API client.
*/
export declare class OllamaSettings extends AbstractAiSettings {
/**
* The URI of the Ollama API.
*/
uri: string;
/**
* The model that should be used.
*/
model: string;
/**
* Controls whether thinking models engage their reasoning process before responding.
* When true, thinking models will perform their internal reasoning process (uses more tokens, slower, better quality for complex tasks).
* When false, thinking models skip the reasoning process and respond directly (fewer tokens, faster, may reduce quality for complex reasoning).
* When undefined, the parameter is not sent (backwards compatible).
* Disable thinking for speed/efficiency in simple tasks, enable for complex tasks requiring reasoning.
*/
think?: boolean;
/**
* Controls randomness of the model output. Range typically [0.0, 2.0].
* Higher values (e.g., 1.0+) make output more creative and diverse; lower values (e.g., 0.2) make it more deterministic.
* When undefined, the parameter is not sent.
*/
temperature?: number;
constructor(uri: string, model: string);
validate(errors: string[]): void;
compare(other: AbstractAiSettings): AiSettingsCompareDifferences;
}
//# sourceMappingURL=OllamaSettings.d.ts.map