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 摘要。