Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 428 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 428 Bytes

OpenRouter Examples - Python

For JavaScript examples, see here.

Setup

  1. Install Poetry
  2. Install dependencies: poetry install
  3. Run poetry shell to activate the virtual environment

OpenAI

Run python src/openai_test.py

LangChain

Run python src/langchain_test.py

LiteLLM

Run python src/litellm_test.py