Spaces:
Running
on
T4
Running
on
T4
Update auditqa/utils.py
Browse files- auditqa/utils.py +4 -0
auditqa/utils.py
CHANGED
@@ -5,6 +5,10 @@ from langchain.schema import (
|
|
5 |
HumanMessage,
|
6 |
SystemMessage,
|
7 |
)
|
|
|
|
|
|
|
|
|
8 |
|
9 |
def save_logs(scheduler, JSON_DATASET_PATH, logs) -> None:
|
10 |
""" Every interaction with app saves the log of question and answer,
|
|
|
5 |
HumanMessage,
|
6 |
SystemMessage,
|
7 |
)
|
8 |
+
import requests
|
9 |
+
from datetime import datetime
|
10 |
+
from uuid import uuid4
|
11 |
+
import random
|
12 |
|
13 |
def save_logs(scheduler, JSON_DATASET_PATH, logs) -> None:
|
14 |
""" Every interaction with app saves the log of question and answer,
|