UNPKG

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

20 lines 590 B
export interface LMStudioConfig { baseURL?: string; httpAgent?: any; } /** * Factory function to generate a configuration object for LM-Studio. * Allows overriding `baseURL` and `httpAgent` if needed. * * @param {LMStudioConfig} [options] - Optional configuration overrides. * @returns {object} - Configuration object for ChatOpenAI. */ export declare function createLMStudioConfig(options?: LMStudioConfig): { apiKey: string; baseURL: string; configuration: { baseURL: string; httpAgent: any; }; }; //# sourceMappingURL=LMStudioConfig.d.ts.map