updated readme

pull/4/head
Anonymous 1 year ago
parent 48989e6a0c
commit abb92d82ad

@ -23,4 +23,3 @@ api_docs = ...
prompt = load_prompt('lc://prompts/api/api_url/<file-name>')
chain = APIChain.from_llm_and_api_docs(llm, api_docs, api_url_prompt=prompt)
```

@ -3,6 +3,11 @@
Basic prompt designed to be use as a test case, will just instruct the LLM to say "Hello World".
## Inputs
This prompt doesn't have any inputs.
## Usage
Below is a code snippet for how to use the prompt.

@ -1,20 +1,14 @@
# Description of QA with Sources Map Reduce Prompts
Prompt
## Compatible Chains
Below is a list of chains we expect this prompt to be compatible with.
1. {{Chain Name}}: {{Path to chain in module}}
2. ...
This prompt enables the user to perform question answering while providing sources.
It uses the map reduce chain for doing QA. This specific prompt reduces the answer generated during the question stage.
## Inputs
This is a description of the inputs that the prompt expects.
1. {{input_var}}: {{Description}}
2. ...
1. `summaries`: Summaries generated during the map step.
2. `question`: Original question to be answered.
## Usage

Loading…
Cancel
Save