Spaces:
Sleeping
Sleeping
Commit ·
0b64b37
1
Parent(s): e15a7b0
switch model s
Browse files
app.py
CHANGED
|
@@ -476,7 +476,7 @@ def analyze_patent_idea(query: str):
|
|
| 476 |
logging.info("Rewriting query...")
|
| 477 |
query_prompt = query_prompt_template.format(user_description=query)
|
| 478 |
rewrite_response = client.responses.parse(
|
| 479 |
-
model="o3-mini",
|
| 480 |
input=[{"role": "user", "content": query_prompt}],
|
| 481 |
text_format=RewrittenQuery
|
| 482 |
)
|
|
|
|
| 476 |
logging.info("Rewriting query...")
|
| 477 |
query_prompt = query_prompt_template.format(user_description=query)
|
| 478 |
rewrite_response = client.responses.parse(
|
| 479 |
+
model="o3-mini", # model switch
|
| 480 |
input=[{"role": "user", "content": query_prompt}],
|
| 481 |
text_format=RewrittenQuery
|
| 482 |
)
|