bump v + docs

This commit is contained in:
ishaan-jaff 2023-08-17 13:22:55 -07:00
parent 6f48f7ab6e
commit 53e76dcd66
2 changed files with 25 additions and 6 deletions

View file

@ -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}
}
```

View file

@ -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"