-
Notifications
You must be signed in to change notification settings - Fork 2.4k
v1.9.1 #2004
-
功能优化
- 知识库:文档向量化时支持仅向量化非成功的分段;by @shaohuzhang1 in feat: Document vectorization supports processing based on status #1984
- 应用(X-Pack):通过第三方应用进行对话的日志,优化为按天记录每个用户的对话日志;
问题修复
- 应用:修复进行语音输入时,提示中图片加载失败的问题;by @wangdan-fit2cloud in fix: tip image 404 #1966
- 应用:修复嵌入应用节点,设置变量参数后,保存不生效的问题;by @wxg0103 in fix: fix github#1988 #1995
- 应用:修复部分网络环境下使用图片理解模型对话结束后,提示Connection aborted的问题;by @liuruibin in refactor: image model get_num_tokens override #1994
- 应用:修复判断器节点的执行条件设置为any时不生效的问题;by @shaohuzhang1 in fix: Workflow The condition setting 'any' did not take effect when the discriminator was executed #1979
- 应用:修复添加图片理解和图片生成模型时,不能自定义输入基础模型的问题;by @liuruibin in fix: bailian tti and image model set default model #1983
- 应用:修复部分情况下在执行详情中会遗漏执行节点的问题。by @shaohuzhang1 in fix: Workflow The condition setting 'any' did not take effect when the discriminator was executed #1979
This discussion was created from the release v1.9.1.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
Replies: 1 comment
-
部署的是1.9.1版本,在使用本地向量模型向量化处理的时候,出现报错
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025年01月20日 17:55:44 向量化段落:c8eb6ba6-d70c-11ef-be73-82e3c21abf47出现错误Expecting value: line 1 column 1 (char 0)Traceback (most recent call last):
File "/opt/py3/lib/python3.11/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/maxkb/app/apps/common/event/listener_manage.py", line 138, in embedding_by_paragraph
VectorStore.get_embedding_vector().batch_save(data_list, embedding_model, is_the_task_interrupted)
File "/opt/maxkb/app/apps/embedding/vector/base_vector.py", line 102, in batch_save
self._batch_save(child_array, embedding, is_the_task_interrupted)
File "/opt/maxkb/app/apps/embedding/vector/pg_vector.py", line 62, in _batch_save
embeddings = embedding.embed_documents(texts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/maxkb/app/apps/setting/models_provider/impl/local_model_provider/model/embedding.py", line 44, in embed_documents
result = res.json()
^^^^^^^^^^
File "/opt/py3/lib/python3.11/site-packages/requests/models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
这个报错,说明后台没有拿到Json格式的文本,不知道是不是哪里配置有问题
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 1