mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
(docs) add litellm.api_version
This commit is contained in:
parent
d72cd8576e
commit
270fc02578
1 changed files with 8 additions and 0 deletions
|
@ -78,6 +78,14 @@ litellm.api_base = "https://hosted-llm-api.co"
|
||||||
response = litellm.completion(messages=messages, model="gpt-3.5-turbo")
|
response = litellm.completion(messages=messages, model="gpt-3.5-turbo")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### litellm.api_version
|
||||||
|
|
||||||
|
```python
|
||||||
|
import litellm
|
||||||
|
litellm.api_version = "2023-05-15"
|
||||||
|
response = litellm.completion(messages=messages, model="gpt-3.5-turbo")
|
||||||
|
```
|
||||||
|
|
||||||
### litellm.organization
|
### litellm.organization
|
||||||
```python
|
```python
|
||||||
import litellm
|
import litellm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue