Spaces:
Sleeping
Sleeping
Tanul Singh
commited on
Commit
·
018adc4
1
Parent(s):
7dcfabd
App
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def add_phrase(title,phrase):
|
|
47 |
|
48 |
if len(phrases) >= 5:
|
49 |
answer = get_gpt_representation(title,phrases,model='gpt-4o')
|
50 |
-
if answer.lower() == '
|
51 |
suggestion = "This Intent is perfectly suited for Semantic Matching , Well done on the phrases"
|
52 |
else:
|
53 |
suggestion = "This intent is more suited for Exact Matching than Semantic Matching"
|
|
|
47 |
|
48 |
if len(phrases) >= 5:
|
49 |
answer = get_gpt_representation(title,phrases,model='gpt-4o')
|
50 |
+
if answer.lower() == 'embeddings':
|
51 |
suggestion = "This Intent is perfectly suited for Semantic Matching , Well done on the phrases"
|
52 |
else:
|
53 |
suggestion = "This intent is more suited for Exact Matching than Semantic Matching"
|