Co-authored-by: Ying Sheng <sqy1415@gmail.com>
This commit is contained in:
1 parent
65501a9cf1
commit
2b6d999191
3 files changed
+13
No files matched your search
@@ -313,6 +313,7 @@ def test_image_qa():
|
||||
def test_stream():
|
||||
@sgl.function
|
||||
def qa(s, question):
|
||||
s += sgl.system("You are a helpful assistant.")
|
||||
s += sgl.user(question)
|
||||
s += sgl.assistant(sgl.gen("answer"))
|
||||
|
||||
|
||||
Reference in new issue
Block a user