Generate a chat response
Use Qianfan model [model] to answer [question] using this material: [material].
Leina connects to Baidu Qianfan to help you summarize material and rank relevant documents. Ask in your team chat. Leina does the work and brings back the result.
Connect Baidu Qianfan, choose what to share, and hand off your first task.
You
Rank these support articles for the question “How do I change my billing email?” Explain which one I should read first.
Leina
The billing-profile article is the closest match; the account-login guide is less relevant.
Baidu Qianfan · Example
Billing email · Reading shortlist
The most relevant supplied articles, in order.
A Qianfan AI agent can draft a focused response from your material or rank a supplied document set against a question.
You specify the source and the destination. Leina uses the content available to your connection and returns the result for you to review.
Baidu Qianfan provides AI models and tools for text, search, and media tasks.
State the question and supply candidate documents.
Use the selected model to compare relevance.
See which documents best address the question.
Copy a prompt, add your details, and send it to Leina in your connected team chat.
Use Qianfan model [model] to answer [question] using this material: [material].
Use Qianfan model [model] to rank these documents [documents] for [question]. Explain which documents are most relevant.
Your next Baidu Qianfan task can start with a message.
Tell Leina what you need in your team chat. Include the source, destination, and expected result.
Connect the tools involved and give Leina access to the content it needs.
Share the source material, say where the result belongs, and describe what you need.
Review the result and any changes in the connected app.
Hand off these everyday tasks to your AI employee.
List the models available to the current Baidu Qianfan API key.
Create a non-streaming fill-in-the-middle completion with Baidu Qianfan.
Create a non-streaming OpenAI-compatible chat completion with Baidu Qianfan.
Create a non-streaming AI search chat completion with Baidu Qianfan.
Generate embedding vectors for one or more input strings with Baidu Qianfan.
Score and rank candidate documents against a query with a Baidu Qianfan rerank model.
Run the Baidu Qianfan PaddleOCR-VL endpoint on a document or image.
Run the Baidu Qianfan PP-StructureV3 OCR endpoint on a document or image.
Generate images with the Baidu Qianfan general image generation endpoint.
Generate images with the Baidu Qianfan MuseSteamer Air image endpoint.
Create a Baidu Qianfan video generation task.
Fetch a Baidu Qianfan video generation task by its task identifier.
Cancel a Baidu Qianfan video generation task by its task identifier.
List Baidu Qianfan video generation tasks with optional filters.
Upload a file to Baidu Qianfan for batch or other file-based APIs.
List files stored in Baidu Qianfan with optional filters.
Fetch the raw content of a Baidu Qianfan file by its identifier.
Create a Baidu Qianfan batch prediction job from an uploaded input file.
Cancel a Baidu Qianfan batch prediction job by its identifier.
Fetch a Baidu Qianfan batch prediction job by its identifier.
List Baidu Qianfan batch prediction jobs with optional pagination.
Create a non-streaming stored response with the Baidu Qianfan responses API.
Fetch a previously stored Baidu Qianfan response by its identifier.
Delete a previously stored Baidu Qianfan response by its identifier.
List the stored context items for a previously created Baidu Qianfan response.
Connect the Apps your work depends on, and give Leina the context to carry the task forward.
Hand off a task while your team is discussing it. Leina uses your connected tools and brings the result back to the conversation.
See How Leina Works in SlackThe billing-profile article is the closest match; the account-login guide is less relevant.
No. It ranks the documents you supply. Web search is a separate capability.
Yes. Choose from the models available to your connected Qianfan account.
Start with one task you already need to do. Tell Leina what a finished result should look like.
Connect Baidu Qianfan, choose what to share, and hand off your first task.