Visitar URL original
Bug: No module named 'dataiku.core.vector_stores.lifecycle · Issue #335 · dataiku/dataiku-api-client-python · GitHub
Skip to content

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

Description

@wangdong-sd

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.

Activity

  1. instanceofme commented on Sep 15, 2025

    @instanceofme
    Contributor

    Hello,
    We indeed have a bug in the way that we expose the dataiku package for external use, the package lacks some files in this case. We will fix this.
    In the meantime, this works when called from within DSS, e.g. in a jupyter notebook or python code recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions