-
It seems that the url for baidu to obtain the token has changed,it is not TOKEN_URL = 'http://openapi.baidu.com/oauth/2.0/token' now
-
### 您希望的更新和改进是什么 | Update or Improve
之前开发产品,用讯飞翻译的接口翻译效果还行。可以加上讯飞翻译的接口支持吗?
这是接口地址 :https://www.xfyun.cn/doc/nlp/xftrans_new/API.html#%E6%8E%A5%E5%8F%A3%E8%AF%B4%E6%98%8E
### 补充说明 | Additional con…
-
### Installation Method | 安装方法与平台
Docker-Compose(Linux)
### Version | 版本
Others | 最新版
### OS | 操作系统
Linux
### Describe the bug | 简述
通过docker-compose部署,国内的千帆和星火模型均可以访问,但是通过第三方api访问…
-
### Class | 类型
大语言模型
### Feature Request | 功能请求
请问怎么配置讯飞星火V2.0,跟配置ChatGPT有什么区别?
我在config.py将USE_PROXY 改回False,LLM_MODEL 改为 "sparkv2" ,并设置了讯飞的API_KEY等信息,最后运行“python main.py”
结果显示“当前模型:gpt-3.5-turb…
-
**问题描述 / Problem Description**
`docker run -v /home/ubuntu/custom_models/qwen-7b-chat:/Qwen/Qwen-7B-Chat -d --gpus all -p 80:8501 registry.cn-beijing.aliyuncs.com/chatchat/chatchat:0.2.7`
模型已经提前…
-
我看现在已经支持了科大讯飞的火星模型,但是没有支持Embedding,这样使用其他的Embedding配合科大讯飞的火星模型得不到好的结果,希望可以支持科大讯飞的Embedding。
下面是他们官方的API
https://www.xfyun.cn/doc/spark/embedding_api.html
-
讯飞星火
API: https://www.xfyun.cn/doc/spark/Web.html
-
import os
# 可以指定一个绝对路径,统一存放所有的Embedding和LLM模型。
# 每个模型可以是一个单独的目录,也可以是某个目录下的二级子目录。
# 如果模型目录名称和 MODEL_PATH 中的 key 或 value 相同,程序会自动检测加载,无需修改 MODEL_PATH 中的路径。
MODEL_ROOT_PATH = ""
# 选用的 Embedding …
-
### 相关问题
否
### 可能的解决办法
讯飞星火大模型目前体验良好,回答十分符合中文语境,而且api申请很快就通过了,是否可以考虑支持接入?
### 帮助开发
- [ ] 我愿意协助开发!
### 补充说明
https://www.xfyun.cn/
-
讯飞星火开放2.0了,是不是可以考虑把模型种类设置为参数?
官方文档:https://console.xfyun.cn/services/bm2
接口地址:ws(s)://spark-api.xf-yun.com/v2.1/chat
api好调,不知道web版需要做的改动大不大