Last updated 6 months ago
Python is the easiest and most recommended way to integrate with Ownlayer
pip install ownlayer
Add add OWNLAYER_API_KEY to your .env file:
OWNLAYER_API_KEY
.env
OWNLAYER_API_KEY=ey...xxx
Change OpenAI or Anthropic imports to use Ownlayer wrapper
- import openai + from ownlayer.openai import openai