Skip to main content

iflytek-haystack

PyPI - Version PyPI - Python Version


An integration between iFlytek Spark and Haystack. iFlytek Spark exposes an OpenAI-compatible chat completion API, so IFlytekChatGenerator builds on Haystack's OpenAIChatGenerator.

Installation

pip install iflytek-haystack

Usage

Get an API password from the iFlytek open platform console and set it as the IFLYTEK_API_KEY environment variable, then pick a model such as generalv3.5, 4.0Ultra or lite.

from haystack.dataclasses import ChatMessage
from haystack_integrations.components.generators.iflytek import IFlytekChatGenerator

client = IFlytekChatGenerator(model="4.0Ultra")
response = client.run([ChatMessage.from_user("用一句话介绍你自己")])
print(response)

Contributing

Refer to the general Contribution Guidelines.

Metadata

Release files for iflytek-haystack 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflytek-haystack 0.1.0
File Size Uploaded Provenance Actions
iflytek_haystack-0.1.0.tar.gz 10.5 kB With provenance Details for iflytek_haystack-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iflytek-haystack 0.1.0
File Interpreter ABI Platform Actions
iflytek_haystack-0.1.0-py3-none-any.whl Python 3 none any Details for iflytek_haystack-0.1.0-py3-none-any.whl

Total release size: 20.1 kB

Release files / iflytek_haystack-0.1.0.tar.gz

Download URL iflytek_haystack-0.1.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7af099ce70d20a0902c6da1a27348961e335c334edec29c2e8477fa8e3569c16
BLAKE2b-256 checksum
How to use checksums
15f2ad65634710b80148a5216ad21763ed65ba74856c281d650d0aac0801c767
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release files / iflytek_haystack-0.1.0-py3-none-any.whl

Download URL iflytek_haystack-0.1.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c193a74385c5f6468a2fd23b3e8f96018a9459def24c1973e64ed820f59c028
BLAKE2b-256 checksum
How to use checksums
a2f6afa96b212486cce2c6aca39aa7a2f9adbf4f1cef0c6581a32c5ee316b9b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Security for iflytek-haystack 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for iflytek_haystack-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page