dataiku / dataiku/dataiku-api-client-python

Bug: No module named 'dataiku.core.vector_stores.lifecycle

未关闭
#335 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
44
派生
29
平均合并
3 小时 34 分钟
30 天内合并 PR
2

描述

I followed your document here: https://developer.dataiku.com/latest/tutorials/genai/nlp/create-knowledge-bank/index.html#wrapping-up.

I try to query the KB.
With this line: vector_store = kb_core.as_langchain_vectorstore()
I got error:

from dataiku.core.vector_stores.lifecycle.shared_folder import (
ModuleNotFoundError: No module named 'dataiku.core.vector_stores.lifecycle'

Look the code I did not find this module named lifecyle in vector_stores. This should be a bug.
And I did not find this module anywhere in the dataiku module.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从教程的“Wrapping up”部分开始,并重现 kb_core.as_langchain_vectorstore()。检查 dataiku.core.vector_stores 包和失败的 lifecycle.shared_folder 导入,然后确定为什么文档中的查询找不到该模块。完成的标准是文档中的查询能够在没有 ModuleNotFoundError 的情况下正常运行,或者文档明确指出所需的包和版本。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
api
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。