xai-org / xai-org/xai-sdk-python

[FEATURE] SDK helpers for multimodal workflows with Collections

Open
#78 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
578
Forks
191
PR merge metrics
No merged PRs in 30d

Description

Confirmation of Request Source
  • I confirm that this feature request is for the xAI SDK Python library (e.g., client features, SDK methods, or documentation) and not for the xAI API itself (e.g., model capabilities or API changes).
Describe the feature you'd like

Add SDK convenience methods for common multimodal patterns:

  1. Helper to store text + local image path reference together
  2. Utility to reconstruct image paths from search results
  3. Example code for vision + collections workflows

This would help developers working around the current text-only
Collections limitation until the API supports image storage natively.

Additional Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the SDK's Collections methods and existing multimodal client features; the issue does not name specific files or tests. Define the three requested convenience patterns and add an example covering vision with Collections, then verify the helpers support text, local image references, and reconstruction from search results.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.