langchain/docs
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
..
api_reference Doc refactor (#6300) 2023-06-16 11:52:56 -07:00
docs_skeleton Update index.mdx (#6326) 2023-06-20 21:40:20 -07:00
extras Feat: Add a prompt template parameter to qa with structure chains (#6495) 2023-06-21 00:23:36 -07:00
snippets Documentation Fix: Correct the example code output in the prompt templates doc (#6496) 2023-06-20 17:21:09 -07:00
.local_build.sh Harrison/deeplake new features (#6263) 2023-06-16 17:53:55 -07:00
requirements.txt Doc refactor (#6300) 2023-06-16 11:52:56 -07:00