Install the package
- JavaScript/Typescript
- Python
Install the package from npm.
Copy
npm add @lmnr-ai/lmnr
Show other installation options: yarn, pnpm
Show other installation options: yarn, pnpm
yarnpnpm
Copy
yarn add @lmnr-ai/lmnr
Copy
pnpm add @lmnr-ai/lmnr
Install the package from PyPI.This will install the package and enable all the available automatic instrumentations.However, this installs a lot of dependencies, so you can specify the extras to enable
specific automatic instrumentations of client SDKs/libraries.For example, to enable automatic instrumentations of Anthropic and OpenAI, run:
Full list of available extras:
Copy
pip install --upgrade 'lmnr[all]'
Copy
pip install --upgrade 'lmnr[anthropic,openai]'
If you do not specify any extras, no automatic instrumentation will be enabled.
Show other installation options: poetry, uv
Show other installation options: poetry, uv
poetryuvuv pip
Copy
poetry add 'lmnr[anthropic,openai]'
Copy
uv add lmnr --extra anthropic --extra openai
Copy
uv pip install 'lmnr[anthropic,openai]'
alephalphaanthropicbedrockcoheregoogle-generativeaigroqhaystacklancedblangchainllamaindexmarqomilvusmistralaiollamaopenaipineconeqdrantreplicatesagemakertogethertransformersvertexaiwatsonxweaviate
The extras configuration is only available since version
0.4.39.
Before that, default option would install all the available instruments.