UNPKG

node-llama-cpp

Version:

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level

3 lines (2 loc) 274 B
import { ChatModelSegmentType, ChatWrapperSettings, ChatWrapperSettingsSegment } from "../types.js"; export declare function getChatWrapperSegmentDefinition(chatWrapperSetting: ChatWrapperSettings, segmentType: ChatModelSegmentType): ChatWrapperSettingsSegment | undefined;