denganhui
denganhui
我碰见了同样的问题,现在解决了没,兄台
我换了一种加载器,这样ok from langchain.document_loaders import TextLoader from langchain.text_splitter import CharacterTextSplitter from langchain.embeddings import OpenAIEmbeddings from langchain.vectorstores import FAISS filepath = "./1.txt" sources = [] loader = TextLoader(filepath) loader.encoding = "utf-8" sources.extend(loader.load_and_split())...
+11111111111 需要紧急更新pydantic依赖,建议pydantic版本更新到2.5.2
make 过程中报 chatglm.cpp/chatglm.h:546:13: error: no matching function for call to 'ggml_scale_inplace' 通过 git submodule update --init --recursive 再 make 可以了