Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on March 10, 2025 3:32PM
Likes: 0
Replies: 2
Hello Team,
I hope you are doing well.
I am currently working on a project in Dataiku 13.1.2, where I am generating embeddings using LLM Mesh in Python code. At present, I am storing these embeddings in a PostgreSQL dataset. However, I would like to store them directly into a Knowledge Bank using Python code.
Key Requirements:
Assistance Required:
Your guidance on this would be highly appreciated. Looking forward to your response.
Regards,
Misti
Hi,
1) Can you write/update/store embeddings into a Knowledge Bank via Python code?
Currently no, you can only retrieve text embedding, but writes must be done with an embedding recipe.
https://developer.dataiku.com/latest/concepts-and-examples/llm-mesh.html#text-embedding
https://developer.dataiku.com/latest/api-reference/python/llm-mesh.html#dataikuapi.dss.llm.DSSLLMEmbeddingsQuery
2) Yes you can use a Knowledge bank from code
https://developer.dataiku.com/latest/concepts-and-examples/llm-mesh.html#using-knowledge-banks-as-langchain-retrievers
Thank you so much Alexandru 😊