1.4.0 • Published 6 months ago
@mfbtech/llm-popular v1.4.0
llm-popular
Create bindings for popular LLM APIs that conform to the simple ModelApi type.
Currently supports models from:
- OpenAI
- Anthropic
- Google Gemini
- Meta Llama
examples
Run the examples in the examples directory using vite-node, for example:
npx vite-node examples/simpleResponse.tsMake sure to set up a proper .env file to hold your API keys