我正在尝试使用科大讯飞的 Spark API,但出现 AppIdNoAuthError
Langchain 参考:https://python.langchain.com/docs/integrations/chat/sparkllm
请指教
我只启用了3.5聊天模式。所以,我需要将其传递给LLM
chat = ChatSparkLLM(
spark_api_url="wss://spark-api.xf-yun.com/v3.5/chat",
spark_app_id="****", spark_api_key="***", spark_api_secret="**"
)
然后效果很好,谢谢