Skip to main content
Attic Status
This project is no longer actively maintained.

Overview

Spring AI QianFan provides integration with Baidu’s QianFan AI platform, offering a comprehensive suite of AI capabilities including chat models, embedding models, and image generation.

Features

Chat Models

Access to QianFan’s conversational AI models for building intelligent chatbots and assistants

Embedding Models

Generate text embeddings for semantic search and text similarity analysis

Image Generation

Create AI-generated images using QianFan’s CogView model

Requirements

  • Java 17 or later
  • Maven 3.6+
  • QianFan API credentials (API Key and Secret Key)

Quick Start

Add Dependency

Configuration

Set your QianFan credentials via environment variables:
Or configure in application.properties:

Building from Source

Building Documentation

To build the documentation site:
This will generate the documentation site in /docs/target/antora/site.

Resources

GitHub Repository

View source code and contribute

Documentation

Full documentation (will be published to GitHub Pages)

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.