usamimeri_renko
usamimeri_renko
I also encounter the same problem.It seems that you can't use customized variable to replace the "input" placeholder.
可能是网络问题,可以试试`curl https://api.openai.com/v1/chat/completions` 如果没有返回 ```json { "error": { "message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization:...
I noticed that the assertion failed because of `d != self.d` meaning that the dimension of the embedded vector didn't match the dimension of your embedding model(in your case it's...
you can check this similar issue #1213 and change `engine = SimpleEngine.from_docs(input_files=[DOC_PATH], retriever_configs=[FAISSRetrieverConfig()]) ` to `engine = SimpleEngine.from_docs(input_files=[DOC_PATH], retriever_configs=[FAISSRetrieverConfig(dimensions=1024)])`
我解决了这个问题。使用的是chatglm6b-int4,主要是发现cpm_kernels有一个函数会遍历所有环境变量,但它把所有环境变量的路径都当成目录,导致里面有个os.listdir的操作造成报错,但又没进行错误处理,于是一直往外传,导致了kernel读取失败。 解决方案: 把cpm_kernels里的library的base.py文件中的lookup_dll函数改为以下可以解决 def lookup_dll(prefix): paths = os.environ.get("PATH", "").split(os.pathsep) for path in paths: if not os.path.exists(path): continue try: for name in os.listdir(path): if name.startswith(prefix) and name.lower().endswith(".dll"): return os.path.join(path, name) except...
same error when using pydantic v2
> > in ./voyager/env/mineflayer/index.js line 102~110, comment out lines 102 and line 107, uncomment line 109 and 110 like below, this works for me! > > ``` > > //const...