diff --git a/docs/my-website/docs/completion/output.md b/docs/my-website/docs/completion/output.md index cfeccf288..60ed48f1a 100644 --- a/docs/my-website/docs/completion/output.md +++ b/docs/my-website/docs/completion/output.md @@ -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} +} ``` \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 1de1e41e7..3e03718f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"