-
### Self Checks
- [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
- [X] I have s…
-
My programming skills are so poor that I really can’t do it (灬ꈍ ꈍ灬).
Here is the relevant document: https://www.volcengine.com/docs/6561/79823
I will pay you a certain amount of compensation. Thank …
-
### Self Checks
- [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
- [X] I have s…
-
智能体直接添加doubao的模型和api会报错,排查发现是智能体的baseURL和LLM的不一样:
"https://ark.cn-beijing.volces.com/api/v3/chat/completions"
"https://ark.cn-beijing.volces.com/api/v3/bots/chat/completions"
修改后使用等待一会儿后右上角提示“文本生…
-
![image](https://github.com/user-attachments/assets/7667b7e8-d8e1-40d6-b005-d1387cbb7bb2)
![image](https://github.com/user-attachments/assets/daa0dbbb-7f31-4297-8298-7a95784518d6)
![image](https://g…
-
'generator' object is not subscriptable
prompt_audio = (prompt_speech.numpy() * (2 ** 15)).astype(np.int16).tobytes()
prompt_speech_16k = torch.from_numpy(np.array(np.frombuffer(prompt_aud…
-
示例代码:
import os
from volcenginesdkarkruntime import Ark
client = Ark(api_key=os.environ.get("ARK_API_KEY"))
print("----- standard request -----")
completion = client.chat.completions.create(
…
-
### Is your feature request related to a problem? / 你想要的功能和什么问题相关?
增加字节跳动豆包支持https://www.doubao.com/
### Describe the solution you'd like. / 你想要的解决方案是什么?
增加字节跳动豆包支持https://www.doubao.com/
### Desc…
-
**例行检查**
[//]: # (方框内删除已有的空格,填 x 号)
+ [x] 我已确认目前没有类似 issue
+ [x] 我已确认我已升级到最新版本
+ [x] 我已完整查看过项目 README,尤其是常见问题部分
+ [x] 我理解并愿意跟进此 issue,协助测试和提供反馈
+ [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能…
-
# ===== 对话 AI 设置 =====
# 使用的 bot 类型,目前支持 chatgptapi, glm, gemini, langchain, qwen, doubao, moonshot, yi, llama,
bot: chatgptapi
官网的调用参考如下:
from openai import OpenAI
client = OpenAI(
api_…