-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement classes for proper typing and dot notation in responses
chore: refactor dataclasses into new file chore: update Readme chore: bump to 0.0.8
- Loading branch information
Showing
5 changed files
with
508 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
from xai_grok_sdk.xai import XAI | ||
from xai_grok_sdk.models import ( | ||
ModelType, | ||
ChatCompletionRequest, | ||
Message, | ||
Usage, | ||
Choice, | ||
ChatCompletionResponse, | ||
Function, | ||
ToolCall, | ||
ToolResult, | ||
) | ||
|
||
__all__ = ["XAI"] | ||
__all__ = [ | ||
"XAI", | ||
"ModelType", | ||
"ChatCompletionRequest", | ||
"Message", | ||
"Usage", | ||
"Choice", | ||
"ChatCompletionResponse", | ||
"Function", | ||
"ToolCall", | ||
"ToolResult", | ||
] |
Oops, something went wrong.