ms-agent icon indicating copy to clipboard operation
ms-agent copied to clipboard

[<Agent component: framework|tool|llm|etc...>] 下载 llama-index-embeddings-huggingface 包后,app.py无法正常工作

Open limi1 opened this issue 1 year ago • 2 comments

Initial Checks

  • [ ] I have searched GitHub for a duplicate issue and I'm sure this is something new
  • [X] I have read and followed the docs & demos and still think this is a bug
  • [ ] I am confident that the issue is with modelscope-agent (not my code, or another library in the ecosystem)

What happened + What you expected to happen

1、下载代码 2、下载requirements.txt 依赖 3、运行app.py,正常 4、执行 llamaindex_rag.ipynb 中代码, 5、执行到 ### 下载embedding文件并且配置 代码时提示需要下载 llama-index-embeddings-huggingface 6、下载完包后,重新运行app.py 无法正常工作

Versions / Dependencies

master

Reproduction script

1、下载代码 2、下载requirements.txt 依赖 3、运行app.py,正常 4、执行 llamaindex_rag.ipynb 中代码, 5、执行到 ### 下载embedding文件并且配置 代码时提示需要下载 llama-index-embeddings-huggingface 6、下载完包后,重新运行app.py 无法正常工作

Issue Severity

Medium: It is a significant difficulty but I can work around it.

limi1 avatar Sep 28 '24 05:09 limi1

加入 memory模块后就会出现一些莫名其妙的问题

limi1 avatar Sep 28 '24 05:09 limi1

image 新项目一开始是没有历史对话的, 代码中又没有初始化这个动作。就导致一旦用到就会报错

limi1 avatar Sep 28 '24 14:09 limi1