Find answers from the community

m
mrmvp
Offline, last seen 3 months ago
Joined September 25, 2024
Hey, I am trying to use doc_ids filter in Weaviate vector store by doing this
Plain Text
query_engine = self.index.as_query_engine(
            service_context=self.service_context,
            text_qa_template=qa_template_copy, 
            refine_template=refine_template_prompt,
            streaming=streaming,
            similarity_top_k=3, 
            doc_ids=doc_ids,
            verbose=True,
        )

But I get the following error
Plain Text
'Response' object has no attribute 'response_gen'

Does any one know how what is causing this error?
Thanks!
14 comments
L
m
T
Hey, how do I set a custom doc_id when loading documents from different data loaders like youtube_transcript, s3 etc ?
4 comments
m
L
Hey All. I am using gpt index to summarize a document. What I would like to do is ask a set of questions using the query and generate one final summary of all the answers from the questions. Can you please guide me on this ?
28 comments
j
N
m