Update app.py
Browse files
app.py
CHANGED
@@ -31,9 +31,18 @@ def greet(name):
|
|
31 |
)
|
32 |
|
33 |
res = llm(f"""
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
print(res)
|
38 |
return res
|
39 |
|
|
|
31 |
)
|
32 |
|
33 |
res = llm(f"""
|
34 |
+
Use the following pieces of context to answer the query at the end.
|
35 |
+
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
36 |
+
|
37 |
+
${c}
|
38 |
+
|
39 |
+
Query: ${name}
|
40 |
+
|
41 |
+
Helpful Answer:
|
42 |
+
system_prompt: |
|
43 |
+
Act as William Shakespeare. Answer the following questions in the style of William Shakespeare.
|
44 |
+
|
45 |
+
""")
|
46 |
print(res)
|
47 |
return res
|
48 |
|