RAG-QA-Generator icon indicating copy to clipboard operation
RAG-QA-Generator copied to clipboard

API请求失败: 404 Client Error: Not Found for url: https://api.deepseek.com/v1collections

Open jianshi88 opened this issue 1 year ago • 2 comments

配置(请在使用时替换为实际的URL和API密钥)

base_url = '' api_key = '' headers = {"Authorization": f"Bearer {api_key}"} 您好,请问这部分的url和api key对应什么,我在创建collections时会报错API请求失败: 404 Client Error: Not Found for url: https://api.deepseek.com/v1collections,希望您能解答

jianshi88 avatar Dec 25 '24 07:12 jianshi88

这里的api应该为taskingai的base_url和api_key,请docker启动tasingai后配置这些项,然后在openai_api里添上相应的大模型api

wangxb96 avatar Dec 25 '24 07:12 wangxb96

最开始需要安装配置 https://github.com/TaskingAI/TaskingAI 系统

wangxb96 avatar Dec 26 '24 03:12 wangxb96