From da2a43e03707f134526b808d8004ebaa0e68b3cd Mon Sep 17 00:00:00 2001 From: moes-91 Date: Tue, 17 Dec 2024 08:45:33 +0100 Subject: [PATCH] chore: update readme, bump 0.0.7 --- README.md | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cc00e56..0fb594b 100644 --- a/README.md +++ b/README.md @@ -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! @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index b9d8059..90251ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",