Spaces:
Runtime error
Runtime error
Matias Stager
commited on
Commit
·
8bdd63e
1
Parent(s):
faedf96
OpenAI Function Calling Demo Text
Browse files- app.py +2 -2
- chat_settings.py +1 -1
app.py
CHANGED
|
@@ -19,10 +19,10 @@ LLM = "gpt-3.5-turbo-0613"
|
|
| 19 |
|
| 20 |
# Streamlit Application
|
| 21 |
def main():
|
| 22 |
-
st.title("ProPilot -
|
| 23 |
st.markdown(
|
| 24 |
"""
|
| 25 |
-
|
| 26 |
"""
|
| 27 |
)
|
| 28 |
|
|
|
|
| 19 |
|
| 20 |
# Streamlit Application
|
| 21 |
def main():
|
| 22 |
+
st.title("ProPilot - OpenAI Demo Function Calling")
|
| 23 |
st.markdown(
|
| 24 |
"""
|
| 25 |
+
Demo of OpenAI function calling using gpt-3.5-turbo-0613. ProPilot - QuePlan
|
| 26 |
"""
|
| 27 |
)
|
| 28 |
|
chat_settings.py
CHANGED
|
@@ -12,7 +12,7 @@ def get_initial_message():
|
|
| 12 |
messages = [
|
| 13 |
{
|
| 14 |
"role": "system",
|
| 15 |
-
"content": "Hola, soy ProPilot.
|
| 16 |
},
|
| 17 |
]
|
| 18 |
return messages
|
|
|
|
| 12 |
messages = [
|
| 13 |
{
|
| 14 |
"role": "system",
|
| 15 |
+
"content": "Hola, soy ProPilot. Para probar el function calling pregunta: ¿Cuál es la suma de 24 y el valor hexadecimal F?",
|
| 16 |
},
|
| 17 |
]
|
| 18 |
return messages
|