Update utils.py
Browse files
utils.py
CHANGED
|
@@ -135,7 +135,7 @@ def is_response_similar(response, threshold=0.7):
|
|
| 135 |
##################################################
|
| 136 |
#Normalisierung eines Prompts
|
| 137 |
##################################################
|
| 138 |
-
def
|
| 139 |
#alles Kleinbuchstaben
|
| 140 |
prompt_klein =prompt.lower()
|
| 141 |
#Word Tokenisation
|
|
|
|
| 135 |
##################################################
|
| 136 |
#Normalisierung eines Prompts
|
| 137 |
##################################################
|
| 138 |
+
def normalise_prompt (prompt):
|
| 139 |
#alles Kleinbuchstaben
|
| 140 |
prompt_klein =prompt.lower()
|
| 141 |
#Word Tokenisation
|