Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index-1.9b-chat 接入langchain报错 #177

Open
jiangzhaokun opened this issue Jun 20, 2024 · 1 comment
Open

index-1.9b-chat 接入langchain报错 #177

jiangzhaokun opened this issue Jun 20, 2024 · 1 comment

Comments

@jiangzhaokun
Copy link

TypeError Traceback (most recent call last)
/Users/jiangzhaokun/Desktop/index/run.ipynb Cell 2 line 2
1 from LLM_index import Index_LLM
----> 2 llm= Index_LLM (mode_name_or_path= "/Users/jzk/Documents/cache/index-1.9b-chat")
3 print(llm('你是谁?'))

TypeError: Can't instantiate abstract class Index_LLM with abstract method _llm_type

@AXYZdong
Copy link
Contributor

教程里面是

from LLM import Index_LLM

如果在ipynb下运行,就不需要上面代码了~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants