logo
Browse Source

Update readme

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 1 year ago
parent
commit
74c6f3416d
  1. 2
      README.md

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

Loading…
Cancel
Save