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')