UNPKG

inference-server

Version:

Libraries and server to build AI applications. Adapters to various native bindings allowing local inference. Integrate it with your application, or use as a microservice.

4 lines (3 loc) 208 B
import { ChatMessage as GPT4AllChatMessage } from 'gpt4all'; import { ChatMessage } from '../../types/index.js'; export declare function createChatMessageArray(messages: ChatMessage[]): GPT4AllChatMessage[];