1.0.1 • Published 1 year ago

@andrao/llm-client v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

🤖 @andrao/llm-client

npm version build

This repo provides a single interface for interacting with LLMs from Anthropic, OpenAI, Together.ai, and, locally, Ollama.

Primary exports

FunctionDescription
runChatCompletionInteroperable chat completion function

Secondary exports

FunctionDescription
getAnthropicClientLazy-init an Anthropic SDK client
getOllamaClientLazy-init an Ollama client via the OpenAI SDK
getOpenAIClientLazy-init an OpenAI SDK client
getTogetherClientLazy-init a Togeter.ai client via the OpenAI SDK
1.0.1-alpha.2

1 year ago

1.0.1

1 year ago

1.0.1-alpha.1

1 year ago

1.0.0

1 year ago