Update README.md
Browse files
README.md
CHANGED
@@ -236,5 +236,17 @@ Long sentences seemed to summarize well, but I observed that answers came in Eng
|
|
236 |
test source by community member steve jobs txt file
|
237 |
|
238 |
### ⛑️ Test Issue
|
|
|
|
|
|
|
|
|
239 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
|
|
|
236 |
test source by community member steve jobs txt file
|
237 |
|
238 |
### ⛑️ Test Issue
|
239 |
+
```
|
240 |
+
If you use load_summarize_chain(), there will be repetition.
|
241 |
+
|
242 |
+
Is it a merge issue? I think the merge target may be the issue.
|
243 |
|
244 |
+
chain = load_summarize_chain(
|
245 |
+
llm,
|
246 |
+
chain_type='stuff',
|
247 |
+
prompt=prompt,
|
248 |
+
verbose=False
|
249 |
+
)
|
250 |
+
output_summary = chain.invoke(docs)
|
251 |
+
```
|
252 |
|