OpenLM
lastmod 2023-05-17created 2023-05-171 edits
An OpenAI-compatible Python client that can call multiple LLMs
Features
- Can call other LLMs such as HuggingFace, Cohere, and your own models with exactly the same parameters as OpenAI's API
- Currently supports only the Completion Endpoint, but endpoints such as Streaming/Embeddings are planned
- Can be used as-is in existing code with import openlm as openai