Skip to content

Commit

Permalink
chore: update readme, bump 0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
moesmufti committed Dec 17, 2024
1 parent bcfa711 commit da2a43e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# xAI Grok SDK

A lightweight Python SDK for interacting with the x.AI API, designed with minimal dependencies. All you need is your xAI API key and the model you want to use.
A lightweight Python SDK for interacting with the xAI API, designed with minimal dependencies. All you need is your xAI API key and the model you want to use.

You can get your API key [here](https://console.x.ai/). Currently, they provide $25 free credits for new users for December 2024!

Expand All @@ -12,8 +12,8 @@ pip install xai-grok-sdk

## Features

- Simple and intuitive interface for x.AI API interactions
- Support for chat completions with the latest x.AI models
- Simple and intuitive interface for xAI API interactions
- Support for chat completions with the latest xAI models
- Built-in function calling capabilities with support for auto, required, and none modes
- Minimal dependencies (only requires `requests`)
- Secure API key handling
Expand Down Expand Up @@ -163,7 +163,7 @@ When using function calling, you need to provide:

Initialize the XAI client.

- `api_key`: Your x.AI API key
- `api_key`: Your xAI API key
- `model`: The model to use for chat completions
- `tools`: Optional list of tools available for the model to use
- `function_map`: Optional dictionary mapping function names to their implementations
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "xai-grok-sdk"
version = "0.0.6"
version = "0.0.7"
description = "Lightweight xAI SDK with minimal dependencies"
dependencies = [
"requests>=2.32.3",
Expand Down

0 comments on commit da2a43e

Please sign in to comment.