From 50fa0cc5ae7c12f3610b72447a9e3db5a85805c9 Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Sat, 17 Feb 2024 16:02:29 +0000 Subject: [PATCH] Update GPT-3 pricing --- pyproject.toml | 2 +- src/llm_chat/chat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index abc9f79..f542a1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "llm-chat" -version = "1.1.0" +version = "1.1.1" description = "A general CLI interface for large language models." authors = ["Paul Harrison "] readme = "README.md" diff --git a/src/llm_chat/chat.py b/src/llm_chat/chat.py index a9ad5eb..8ee06a0 100644 --- a/src/llm_chat/chat.py +++ b/src/llm_chat/chat.py @@ -82,7 +82,7 @@ class Chat: _pricing: dict[Model, dict[Token, float]] = { Model.GPT3: { - Token.COMPLETION: 0.002, + Token.COMPLETION: 0.0005, Token.PROMPT: 0.0015, }, Model.GPT4: {