Hi there,
i don’t know if is the right place to ask but i try.
We are usi openai API to perform request to GPT-4 against our context using embeddings.
I would like to perform MMR search provided by LangChain but i can’t fit the exmple provide with my use case.
We have a prompt in which, besed on the similarity query on our vector-db, is present a context composed by a list of all relevant sections.
i.e.
Answer the question based on the context below.
Context:\n
\n**
section 1\n
section2\n
etc.
\n**
Question: <a question>\nAnswer:
I don’t understand how to use the PromptTamplate and FewShotPromptTemplate method.
Does anybody have had similar issues?
Thank’s