Connect Baidu Qianfan to Your AI Agent

Get a focused answer from your material or find the most relevant document first.

25 tools API key

Try a Baidu Qianfan Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Baidu Qianfan

Generate a chat response

Call a selected model with your messages.

/oo Baidu Qianfan: Use Qianfan model [model] to answer [question] using this material: [material].

Rank candidate documents

Score supplied documents against a specific query.

/oo Baidu Qianfan: Use Qianfan model [model] to rank these documents [documents] for [question]. Explain which documents are most relevant.

Start Working with Baidu Qianfan

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Baidu Qianfan

    Connect using your Baidu Qianfan API Key.

    Connect Baidu Qianfan →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • An account with access to the Baidu Qianfan resources used in your task.

Baidu Qianfan Tools

Use Qianfan models for text responses and document ranking, with additional capabilities for search, text recognition, and media tasks. Supplied-document ranking stays distinct from searching for new material, and longer tasks may need a later result check.

Generate a chat response

Call a selected model with your messages.

Rank candidate documents

Score supplied documents against a specific query.

25 tools

List Models

List the models available to the current Baidu Qianfan API key.

qianfan.list_models

Create Completion

Create a non-streaming fill-in-the-middle completion with Baidu Qianfan.

qianfan.create_completion

Create Chat Completion

Create a non-streaming OpenAI-compatible chat completion with Baidu Qianfan.

qianfan.create_chat_completion

Create Ai Search Completion

Create a non-streaming AI search chat completion with Baidu Qianfan.

qianfan.create_ai_search_completion

Create Embeddings

Generate embedding vectors for one or more input strings with Baidu Qianfan.

qianfan.create_embeddings

Rerank

Score and rank candidate documents against a query with a Baidu Qianfan rerank model.

qianfan.rerank

Run Paddleocr Vl

Run the Baidu Qianfan PaddleOCR-VL endpoint on a document or image.

qianfan.run_paddleocr_vl

Run Pp Structure V3

Run the Baidu Qianfan PP-StructureV3 OCR endpoint on a document or image.

qianfan.run_pp_structure_v3

Create Image Generation

Generate images with the Baidu Qianfan general image generation endpoint.

qianfan.create_image_generation

Create Air Image Generation

Generate images with the Baidu Qianfan MuseSteamer Air image endpoint.

qianfan.create_air_image_generation

Create Video Generation Task

Create a Baidu Qianfan video generation task.

qianfan.create_video_generation_task

Get Video Generation Task

Fetch a Baidu Qianfan video generation task by its task identifier.

qianfan.get_video_generation_task

Cancel Video Generation Task

Cancel a Baidu Qianfan video generation task by its task identifier.

qianfan.cancel_video_generation_task

List Video Generation Tasks

List Baidu Qianfan video generation tasks with optional filters.

qianfan.list_video_generation_tasks

Upload File

Upload a file to Baidu Qianfan for batch or other file-based APIs.

qianfan.upload_file

List Files

List files stored in Baidu Qianfan with optional filters.

qianfan.list_files

Get File Content

Fetch the raw content of a Baidu Qianfan file by its identifier.

qianfan.get_file_content

Create Batch

Create a Baidu Qianfan batch prediction job from an uploaded input file.

qianfan.create_batch

Cancel Batch

Cancel a Baidu Qianfan batch prediction job by its identifier.

qianfan.cancel_batch

Get Batch

Fetch a Baidu Qianfan batch prediction job by its identifier.

qianfan.get_batch

List Batches

List Baidu Qianfan batch prediction jobs with optional pagination.

qianfan.list_batches

Create Response

Create a non-streaming stored response with the Baidu Qianfan responses API.

qianfan.create_response

Get Response

Fetch a previously stored Baidu Qianfan response by its identifier.

qianfan.get_response

Delete Response

Delete a previously stored Baidu Qianfan response by its identifier.

qianfan.delete_response

List Response Input Items

List the stored context items for a previously created Baidu Qianfan response.

qianfan.list_response_input_items

Frequently Asked Questions

Does document ranking search the web?

No. It ranks the documents you supply. Web search is a separate capability.

Can I choose a model?

Yes. Choose from the models available to your connected Qianfan account.

Connect Baidu Qianfan

About Baidu Qianfan ↗