From 74c6f3416d0d39ed114bcbbcbf5a78caf6e99fa0 Mon Sep 17 00:00:00 2001 From: "junjie.jiang" Date: Thu, 8 Jun 2023 15:03:33 +0800 Subject: [PATCH] Update readme Signed-off-by: junjie.jiang --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cecbb95..6ea4b3a 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ input: p = ( pipe.input('question', 'doc', 'history') - .map('docs', 'docs', lambda x: x[:2000]) + .map('doc', 'doc', lambda x: x[:2000]) .map(('question', 'doc', 'history'), 'prompt', ops.prompt.template(temp, ['question', 'context'])) .map('prompt', 'answer', ops.LLM.OpenAI()) .output('answer')