Find answers from the community

Updated last year

Hi all I ve got a qdrant db where i

Hi all!.. I've got a qdrant db, where i stored some docs using Langchain. Im trying to load and use them with Llama, without much luck. Both seems to save content in the db in a different way. Llama seems to use the 'text' payload property to store the text, and langchain 'page_content'. How could one query langchain's way of storing the text with llama?
k
L
12 comments
To .get('page_content') it kinda works. πŸ˜›
You could definitely subclass to adjust which fields it works with
there's not really an easy cross-compatible solution here I guess πŸ€”
besides subclassing and writing your own query method
What do you mean by subclass?
inherit the thing, and re-write the function i need?
Not sure if its the same thing i was loooking, but your suggestion looks to be quite similar. πŸ™‚
Yea, by subclass I mean inherit

Plain Text
class KittenKillVectorStore(QdrantVectorStore):
  def query(..):
     # custom query code
something like that haha
Add a reply
Sign up and join the conversation on Discord