[GH-ISSUE #3024] [langchain]: BaiduQianfan Embbadings could not create the "SecretKey" now, which means that the freshmen who use this api can't use the QianfanEmbeddingsEndpoint. #2700

Open
opened 2026-06-05 17:26:21 -04:00 by yindo · 0 comments
Owner

Originally created by @POLtt769 on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/3024

Type of issue

issue / bug

Language

Python

Description

Hello, I'm a student learning LangChain.
I find a question and I can't sovle it now.
The quesioning page : https://docs.langchain.com/oss/python/integrations/text_embedding/baidu_qianfan_endpoint
This page's demo can't run in my computer, because I can't find the "QIANFAN_SK" right now in the platform of BaiduQianfan. And I see in the 13th, February,2026, the BaiduQianfan platform has changed the headers of api post, which is now using the "Authorization" and "appid" instead of the "ApiKey" and "SecretKey".
BaiduQianfan now could not create a new apikey with "ApiKey" and "SecretKey" (v1), instead, new persons can only create an apikey with "appid" and "apikey"(v2), which means the original embadding or other Qianwen api post headers did not work any more for a new person.
So, hoping you to get this problem sovled and I am looking forward to your reply.

The BaiduQianfan apikeys creating url: https://console.bce.baidu.com/qianfan/ais/console/apiKey
The instruction of BaiduQianfan api using url: https://cloud.baidu.com/doc/qianfan-api/s/3m9b5lqft

Originally created by @POLtt769 on GitHub (Mar 10, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/3024 ### Type of issue issue / bug ### Language Python ### Description Hello, I'm a student learning LangChain. I find a question and I can't sovle it now. The quesioning page : https://docs.langchain.com/oss/python/integrations/text_embedding/baidu_qianfan_endpoint This page's demo can't run in my computer, because I can't find the "QIANFAN_SK" right now in the platform of BaiduQianfan. And I see in the 13th, February,2026, the BaiduQianfan platform has changed the headers of api post, which is now using the "Authorization" and "appid" instead of the "ApiKey" and "SecretKey". BaiduQianfan now could not create a new apikey with "ApiKey" and "SecretKey" (v1), instead, new persons can only create an apikey with "appid" and "apikey"(v2), which means the original embadding or other Qianwen api post headers did not work any more for a new person. So, hoping you to get this problem sovled and I am looking forward to your reply. The BaiduQianfan apikeys creating url: https://console.bce.baidu.com/qianfan/ais/console/apiKey The instruction of BaiduQianfan api using url: https://cloud.baidu.com/doc/qianfan-api/s/3m9b5lqft
yindo added the langchainexternal labels 2026-06-05 17:26:21 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2700