langchain/docs/extras/modules/chains/additional
ElReyZero ab7ecc9c30
Feat: Add a prompt template parameter to qa with structure chains (#6495)
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>
2023-06-21 00:23:36 -07:00
..
extraction.ipynb Harrison/refactor functions (#6408) 2023-06-18 23:13:42 -07:00
flare.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
graph_cypher_qa.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
graph_kuzu_qa.ipynb Add KuzuQAChain (#6454) 2023-06-20 22:07:00 -07:00
graph_nebula_qa.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
graph_qa.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
hyde.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_bash.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_checker.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_math.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_requests.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
llm_summarization_checker.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
openai_functions_retrieval_qa.ipynb Feat: Add a prompt template parameter to qa with structure chains (#6495) 2023-06-21 00:23:36 -07:00
openai_openapi.yaml Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
openapi.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
pal.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
qa_citations.ipynb Harrison/refactor functions (#6408) 2023-06-18 23:13:42 -07:00
tagging.ipynb Harrison/refactor functions (#6408) 2023-06-18 23:13:42 -07:00
vector_db_text_generation.ipynb Doc refactor (#6300) 2023-06-16 11:52:56 -07:00