forked from phoenix/litellm-mirror
bump v + docs
This commit is contained in:
parent
6f48f7ab6e
commit
53e76dcd66
2 changed files with 25 additions and 6 deletions
|
@ -5,11 +5,11 @@ Here's the exact json output and type you can expect from all litellm `completio
|
|||
{
|
||||
'choices': [
|
||||
{
|
||||
'finish_reason': str, # String: 'stop'
|
||||
'index': int, # Integer: 0
|
||||
'message': { # Dictionary [str, str]
|
||||
'role': str, # String: 'assistant'
|
||||
'content': str # String: "default message"
|
||||
'finish_reason': str, # String: 'stop'
|
||||
'index': int, # Integer: 0
|
||||
'message': { # Dictionary [str, str]
|
||||
'role': str, # String: 'assistant'
|
||||
'content': str # String: "default message"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@ -22,4 +22,23 @@ Here's the exact json output and type you can expect from all litellm `completio
|
|||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Here's what an example liteLLMresponse looks like
|
||||
```python
|
||||
{
|
||||
'choices': [
|
||||
{
|
||||
'finish_reason': 'stop',
|
||||
'index': 0,
|
||||
'message': {
|
||||
'role': 'assistant',
|
||||
'content': " I'm doing well, thank you for asking. I am Claude, an AI assistant created by Anthropic."
|
||||
}
|
||||
}
|
||||
],
|
||||
'created': 1691429984.3852863,
|
||||
'model': 'claude-instant-1',
|
||||
'usage': {'prompt_tokens': 18, 'completion_tokens': 23, 'total_tokens': 41}
|
||||
}
|
||||
```
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "litellm"
|
||||
version = "0.1.411"
|
||||
version = "0.1.412"
|
||||
description = "Library to easily interface with LLM API providers"
|
||||
authors = ["BerriAI"]
|
||||
license = "MIT License"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue