Spaces:
Build error
Build error
Jorge Londoño commited on
Commit ·
9c10b6e
1
Parent(s): 2e0500b
Changed system prompt
Browse files
app.py
CHANGED
|
@@ -35,11 +35,10 @@ logger.setLevel(logging.DEBUG)
|
|
| 35 |
|
| 36 |
config = {"configurable": {"thread_id": str(uuid.uuid4()) }}
|
| 37 |
|
| 38 |
-
system_messsage ="""You are a helpful assistant
|
| 39 |
-
Occasionally, Yosemite Sam, Daffy Duck, or Elmer Fudd add their comments to the answer.
|
| 40 |
You only answer questions about data structures and algorithms, discrete math, and computer science in general.
|
| 41 |
You can use search tools for finding information in the web to answer the user's question.
|
| 42 |
-
Output your answers using markdown format."""
|
| 43 |
|
| 44 |
|
| 45 |
def pretty_print(event:dict) -> None:
|
|
|
|
| 35 |
|
| 36 |
config = {"configurable": {"thread_id": str(uuid.uuid4()) }}
|
| 37 |
|
| 38 |
+
system_messsage ="""You are a helpful assistant.
|
|
|
|
| 39 |
You only answer questions about data structures and algorithms, discrete math, and computer science in general.
|
| 40 |
You can use search tools for finding information in the web to answer the user's question.
|
| 41 |
+
Output your answers using markdown format and include links to the pages used in constructing the answer."""
|
| 42 |
|
| 43 |
|
| 44 |
def pretty_print(event:dict) -> None:
|