Skip to content

Commit 80de633

Browse files
authored
Update API for chattype (#91)
* update apis for Chat type * add azure api * add azure api * restore old response * simplify azure * fix azure config * remove stream
1 parent 1e595f7 commit 80de633

File tree

8 files changed

+1534
-263
lines changed

8 files changed

+1534
-263
lines changed

chattool/core/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
from chattool.core.config import Config, OpenAIConfig
2-
from chattool.core.request import HTTPClient, OpenAIClient
1+
from chattool.core.config import Config, OpenAIConfig, AzureOpenAIConfig
2+
from chattool.core.request import HTTPClient, OpenAIClient, AzureOpenAIClient
3+
from chattool.core.response import ChatResponse
4+
from chattool.core.chattype import Chat

0 commit comments

Comments
 (0)