Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,8 @@ instruct="Du bist ein deutschsprachiger Chatbot namens Machatter, der Studierend
|
|
8 |
chat_history = [
|
9 |
{"role": "system", "content": instruct}
|
10 |
]
|
|
|
|
|
11 |
|
12 |
def ask_writer(question, model="palmyra-x-004"):
|
13 |
"""Asks a question to the Writer LLM with RAG from the Knowledge Graph."""
|
|
|
8 |
chat_history = [
|
9 |
{"role": "system", "content": instruct}
|
10 |
]
|
11 |
+
key1 = os.getenv("key1")
|
12 |
+
key2 = os.getenv("key2")
|
13 |
|
14 |
def ask_writer(question, model="palmyra-x-004"):
|
15 |
"""Asks a question to the Writer LLM with RAG from the Knowledge Graph."""
|