{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/7"}],"enrichment":{"capability":"Python SDK for Baidu Qianfan large language model platform, enabling chat, text completion, embeddings, image generation, model training, and dataset management through a unified API.","skillfed_tags":["baidu-cloud","llm-client","async-http"],"use_cases":["Build chatbot or conversational AI applications using ERNIE models via the ChatCompletion interface.","Generate text embeddings for semantic search, clustering, or retrieval-augmented generation workflows.","Fine-tune Baidu's large language models on custom datasets using the model training API.","Generate images from text prompts using the Text2Image capability within the Qianfan platform.","Manage datasets, models, and deployments programmatically through the model management and service APIs.","Integrate Qianfan's plugin ecosystem and external tools into Python applications via the plugin interface."],"what_it_does":"Qianfan is Baidu's official Python SDK for accessing the Qianfan large language model platform. It wraps HTTP and async HTTP calls to Baidu's inference, training, and model management services, handling authentication, request formatting, and response parsing. The SDK supports multiple authentication modes (Access Key/Secret Key or legacy API Key/Secret Key) and exposes high-level interfaces for chat, text completion, embeddings, image generation, and model lifecycle operations.\n\nThe package is designed for developers integrating Baidu's LLM capabilities into Python applications. It manages 16 runtime dependencies including requests, aiohttp, pydantic for validation, tenacity for retry logic, and rich for CLI output. Configuration is flexible\u2014credentials can be set via environment variables, .env files, or code. The SDK also provides tokenization utilities, rate limiting, and prompt management, making it a comprehensive client for the Qianfan ecosystem.","worth_installing":"Yes, with conditions. Install if you are building on Baidu's Qianfan platform and need a Python client\u2014the SDK is officially maintained, permissively licensed, and has low install friction. However, note that maintenance is aging (553 days since last release), so verify that the current version supports your target models and features before committing to production. No known security vulnerabilities as of the last OSV check."},"id":"qianfan","links":{"html":"https://skillfed.io/packages/qianfan","md":"https://skillfed.io/packages/qianfan.md","pypi":"https://pypi.org/project/qianfan/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-02-07","license_spdx":null,"license_treatment":"permissive","name":"qianfan","python_support":"supports_current","summary":"\u6587\u5fc3\u5343\u5e06\u5927\u6a21\u578b\u5e73\u53f0 Python SDK"},"popularity":{"monthly_downloads":234138,"position":9028,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.12.3"}
