forked from phoenix/litellm-mirror
bump v
This commit is contained in:
parent
946c81626d
commit
94a19fa6c2
2 changed files with 10 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
# Petals
|
# Petals
|
||||||
LiteLLM supports Claude-1, 1.2 and Claude-2.
|
Petals: https://github.com/bigscience-workshop/petals
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Ensure you add `petals/` as a prefix for all petals LLMs. This sets the custom_llm_provider to petals
|
Ensure you add `petals/` as a prefix for all petals LLMs. This sets the custom_llm_provider to petals
|
||||||
|
@ -16,9 +16,12 @@ print(response)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Model Details
|
### Model Details
|
||||||
|
| Model Name | Function Call |
|
||||||
|
|------------------|--------------------------------------------|
|
||||||
|
| StableBeluga | ```python
|
||||||
|
| completion(
|
||||||
|
| model="petals/petals-team/StableBeluga2",
|
||||||
|
| messages=messages
|
||||||
|
| )
|
||||||
|
| ``` |
|
||||||
|
|
||||||
| Model Name | Function Call | Required OS Variables |
|
|
||||||
|------------------|--------------------------------------------|--------------------------------------|
|
|
||||||
| claude-instant-1 | `completion('claude-instant-1', messages)` | `os.environ['ANTHROPIC_API_KEY']` |
|
|
||||||
| claude-instant-1.2 | `completion('claude-instant-1.2', messages)` | `os.environ['ANTHROPIC_API_KEY']` |
|
|
||||||
| claude-2 | `completion('claude-2', messages)` | `os.environ['ANTHROPIC_API_KEY']` |
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "litellm"
|
name = "litellm"
|
||||||
version = "0.1.700.dev4"
|
version = "0.1.701"
|
||||||
description = "Library to easily interface with LLM API providers"
|
description = "Library to easily interface with LLM API providers"
|
||||||
authors = ["BerriAI"]
|
authors = ["BerriAI"]
|
||||||
license = "MIT License"
|
license = "MIT License"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue