mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
ab7ecc9c30
This pull request introduces a new feature to the LangChain QA Retrieval Chains with Structures. The change involves adding a prompt template as an optional parameter for the RetrievalQA chains that utilize the recently implemented OpenAI Functions. The main purpose of this enhancement is to provide users with the ability to input a more customizable prompt to the chain. By introducing a prompt template as an optional parameter, users can tailor the prompt to their specific needs and context, thereby improving the flexibility and effectiveness of the RetrievalQA chains. ## Changes Made - Created a new optional parameter, "prompt", for the RetrievalQA with structure chains. - Added an example to the RetrievalQA with sources notebook. My twitter handle is @El_Rey_Zero --------- Co-authored-by: Dev 2049 <dev.dev2049@gmail.com> |
||
---|---|---|
.. | ||
extraction.ipynb | ||
flare.ipynb | ||
graph_cypher_qa.ipynb | ||
graph_kuzu_qa.ipynb | ||
graph_nebula_qa.ipynb | ||
graph_qa.ipynb | ||
hyde.ipynb | ||
llm_bash.ipynb | ||
llm_checker.ipynb | ||
llm_math.ipynb | ||
llm_requests.ipynb | ||
llm_summarization_checker.ipynb | ||
openai_functions_retrieval_qa.ipynb | ||
openai_openapi.yaml | ||
openapi.ipynb | ||
pal.ipynb | ||
qa_citations.ipynb | ||
tagging.ipynb | ||
vector_db_text_generation.ipynb |