-
### System Info / 系統信息
Python3.10
CUDA12.1
ubuntu20.04
### Who can help? / 谁可以帮助到您?
_No response_
### Information / 问题信息
- [X] The official example scripts / 官方的示例脚本
- [ ] My own modified scrip…
-
参考官方文档,zhipuai 的api调用已改为client.chat.completions.create
因此将相关代码改成如下形式后才能正常运行,请参考是否有必要更新。
#_zhipu.py
import os
#import zhipuai
from zhipuai import ZhipuAI
class ChatZhipu(object):
def __i…
-
**无法使用zhipu的api进行在线embedding**
LLM聊天正常,但是知识库导入文件时无法进行向量化,显示无法转化绝对路径到相对路径
**复现问题的步骤**
1. 将model_config.py中的嵌入模型改为zhipu-api
2. 清空knowledge_base文件夹并重建向量库
3. python startup.py -a --lite 轻量部署启动
4. …
-
Traceback is as followed, I was running ChatGLM4-9b-chat on my laptop.
Device configurations
OS: Win 11 23H2 (22631.3737)
- CPU: i7-1260P
- GPU: 'Intel(R) Iris(R) Xe Graphics', platform_name='Inte…
-
**Describe the bug**
new an DefaultAiServices + Agent to use , request api "chat/completions"
`{
"model": "gpt-4o-2024-05-13",
// "model": "gpt-4-1106-preview",
"messages": [
…
-
### 前置确认
- [X] 我确认我运行的是最新版本的代码,并且安装了所需的依赖,在[FAQS](https://github.com/zhayujie/chatgpt-on-wechat/wiki/FAQs)中也未找到类似问题。
### ⚠️ 搜索issues中是否已存在类似问题
- [X] 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue
###…
-
```
python -m graphrag.index --root ./ragtest
```
2000多条新闻的csv文件,初始化了10几个小时,请教下有木有其他方式初始化,比如一个我分成100分小文档,然后分别初始化后,可以直接合并output文件下面的内容
-
### Self Checks
- [X] This is only for bug report, if you would like to ask a quesion, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
- [X] I have se…
-
### Search before asking
- [X] I had searched in the [issues](https://github.com/eosphoros-ai/DB-GPT/issues?q=is%3Aissue) and found no similar issues.
### Operating system information
Linux
### P…
-
I'm going to do a work which need LLM to read PDF. I found it's easy to do in LangChain with RecursiveCharacterTextSplitter and embeddings. But in MetaGPT, it seems hard to do.
I found embedding in c…