Tublian / DevDocGenie

API assistance for developers. It will digest all the API docs and act as a helper for a developer.
Apache License 2.0
6 stars 7 forks source link

AttributeError: 'OpenAIEmbeddingFunction' object has no attribute 'embed_query' #1

Open nraychaudhuri opened 9 months ago

nraychaudhuri commented 9 months ago

I am experimenting with Langchain RAG to implement DocGenie.

The idea is to break down the process into two steps

  1. Indexing: Load the document, store the embeddings
  2. Retrieval: Find the right embeddings and generate

Since this will be the core of the DocGenie, I created a core folder and underneath we have two files. The store.py file is doing the indexing and the genie.py is supposed to use the stored data to answer any questions.

Right now the issue is genie.py is throwing error when I run it.

itsayopapi commented 9 months ago

@nraychaudhuri Please assign this to me

nraychaudhuri commented 9 months ago

It is yours. Thanks for the help

nraychaudhuri commented 9 months ago

@itsayopapi, any updates on this?

nraychaudhuri commented 8 months ago

@roseMunyiri this is yours

roseMunyiri commented 8 months ago

@nraychaudhuri Take a look at this