logo
Browse Source

Update

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 1 year ago
parent
commit
28fd205294
  1. 4
      qa_prompt.py

4
qa_prompt.py

@ -1,7 +1,9 @@
from typing import List, Tuple, Dict, Optional
from towhee.operator import PyOperator
class QAPrompt:
class QAPrompt(PyOperator):
def __init__(self):
super().__init__()
self._template = """Use the following pieces of context to answer the question at the end.

Loading…
Cancel
Save