dataiku / dataiku/dataiku-api-client-python

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

Open
#335 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
44
Forks
29
Avg merge
3h 34m
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tutorial's “Wrapping up” section and reproduce kb_core.as_langchain_vectorstore(). Inspect the dataiku.core.vector_stores package and the failing lifecycle.shared_folder import, then determine why the documented query cannot find that module. Done means the documented query works without ModuleNotFoundError or the documentation identifies the required package and version.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.