yuanjie-ai / ChatLLM

轻松玩转LLM兼容openai&langchain,支持文心一言、讯飞星火、腾讯混元、智谱ChatGLM等
https://yuanjie-ai.github.io/ChatLLM/
MIT License
430 stars 53 forks source link

Can't pickle local object 'ChatANN.create_index.<locals>.<lambda>' #5

Closed Shun-Calvin closed 1 year ago

Shun-Calvin commented 1 year ago

image

yuanjie-ai commented 1 year ago

删掉pdf_cache文件夹,然后重试

发自我的iPhone

------------------ Original ------------------ From: Calvin_Shun @.> Date: Sat,May 13,2023 6:56 PM To: yuanjie-ai/ChatLLM @.> Cc: Subscribed @.***> Subject: Re: [yuanjie-ai/ChatLLM] Can't pickle local object'ChatANN.create_index.<locals>.<lambda>' (Issue #5)

Shun-Calvin commented 1 year ago

删掉pdf_cache文件夹,然后重试 发自我的iPhone ------------------ Original ------------------ From: Calvin_Shun @.> Date: Sat,May 13,2023 6:56 PM To: yuanjie-ai/ChatLLM @.> Cc: Subscribed @.***> Subject: Re: [yuanjie-ai/ChatLLM] Can't pickle local object'ChatANN.create_index.<locals>.<lambda>' (Issue #5)

还是一样,把 pdf_cache 删了也是一样报错,整个档案删掉再下载也是一样的错误

yuanjie-ai commented 1 year ago

我明天修一下

发自我的iPhone

------------------ Original ------------------ From: Calvin_Shun @.> Date: Sat,May 13,2023 7:11 PM To: yuanjie-ai/ChatLLM @.> Cc: Betterme @.>, Comment @.> Subject: Re: [yuanjie-ai/ChatLLM] Can't pickle local object'ChatANN.create_index.<locals>.<lambda>' (Issue #5)

删掉pdf_cache文件夹,然后重试 发自我的iPhone … ------------------ Original ------------------ From: Calvin_Shun @.> Date: Sat,May 13,2023 6:56 PM To: yuanjie-ai/ChatLLM @.> Cc: Subscribed @.***> Subject: Re: [yuanjie-ai/ChatLLM] Can't pickle local object'ChatANN.create_index.<locals>.<lambda>' (Issue #5)

还是一样,把 pdf_cache 删了也是一样报错,整个档案删掉再下载也是一样的错误

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

yuanjie-ai commented 1 year ago

更新下pip install meutils -U好像是pickle版本的问题

发自我的iPhone

------------------ Original ------------------ From: Calvin_Shun @.> Date: Sat,May 13,2023 6:56 PM To: yuanjie-ai/ChatLLM @.> Cc: Subscribed @.***> Subject: Re: [yuanjie-ai/ChatLLM] Can't pickle local object'ChatANN.create_index.<locals>.<lambda>' (Issue #5)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Shun-Calvin commented 1 year ago

更新到最新(应该是2023.5.12.18.5.27 ),还是报一样的错误,而且我试了把data内的財報放进去测试,pdf_cache内的pkl是0 KB的

yuanjie-ai commented 1 year ago

已修复,请更新

pip install "chatllm[pdf]"  -U && chatllm-run webui --name chatpdf