ollama-api-facade-js
Version:
OllamaApiFacadeJS is an open-source library for running an ExpressJS backend as an Ollama API using LangChainJS. It supports local language models services like LmStudio and allows seamless message conversion and streaming between LangChainJS and Ollama c
36 lines • 704 B
TypeScript
/**
* Interface representing information about a model.
*/
export interface ModelInfo {
/**
* The name of the model.
*/
name: string;
/**
* The model identifier.
*/
model: string;
/**
* The digest of the model.
*/
digest: string;
}
/**
* Interface representing the response containing a list of models.
*/
export interface TagsResponse {
/**
* An array of model information.
*/
models: ModelInfo[];
}
/**
* Interface representing the response containing the version information.
*/
export interface VersionResponse {
/**
* The version of the API.
*/
version: string;
}
//# sourceMappingURL=ApiModels.d.ts.map