Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,7 @@ from datetime import date, datetime
|
|
| 8 |
import requests
|
| 9 |
from pydantic import BaseModel, Field
|
| 10 |
from typing import Optional
|
|
|
|
| 11 |
|
| 12 |
placeHolderPersona1 = """
|
| 13 |
##Mission
|
|
@@ -56,6 +57,9 @@ def format_elapsed_time(time):
|
|
| 56 |
# Format the elapsed time to two decimal places
|
| 57 |
return "{:.2f}".format(time)
|
| 58 |
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
# Title of the application
|
| 61 |
# st.image('agentBuilderLogo.png')
|
|
|
|
| 8 |
import requests
|
| 9 |
from pydantic import BaseModel, Field
|
| 10 |
from typing import Optional
|
| 11 |
+
from
|
| 12 |
|
| 13 |
placeHolderPersona1 = """
|
| 14 |
##Mission
|
|
|
|
| 57 |
# Format the elapsed time to two decimal places
|
| 58 |
return "{:.2f}".format(time)
|
| 59 |
|
| 60 |
+
def search_knowledgebase(query)
|
| 61 |
+
return results
|
| 62 |
+
|
| 63 |
|
| 64 |
# Title of the application
|
| 65 |
# st.image('agentBuilderLogo.png')
|