- Preparing search index...
- The search index is not available
ad-llama
CommonOptions: { maxTokens?: number; sampler?: CreateSampler; temperature?: number; top_p?: number; validate?: { check?: ((partial) => boolean); retries?: number; transform?: ((partial) => string); }; }
Type declaration
-
Optional
maxTokens?: number
-
-
Optional
temperature?: number
-
Optional
top_p?: number
-
Optional
validate?: {
check?: ((partial) => boolean);
retries?: number;
transform?: ((partial) => string);
}
-
Optional
check?: ((partial) => boolean)
-
- (partial): boolean
-
Returns boolean
-
Optional
retries?: number
-
Optional
transform?: ((partial) => string)
-
- (partial): string
-
Returns string