Spaces:
Runtime error
Runtime error
Update src/services/processor.py
Browse files
src/services/processor.py
CHANGED
@@ -224,7 +224,7 @@ def search_prior_art(technologies_input: list, data: str, type: str) -> json:
|
|
224 |
using a set of specified technologies, leveraging the Gemini model's search capabilities.
|
225 |
"""
|
226 |
|
227 |
-
technology_titles = [tech
|
228 |
|
229 |
if type == "problem":
|
230 |
prompt = f"Find prior art patents or research paper online that address the technical problem: '{data}'. " \
|
|
|
224 |
using a set of specified technologies, leveraging the Gemini model's search capabilities.
|
225 |
"""
|
226 |
|
227 |
+
technology_titles = [tech.title for tech in technologies_input]
|
228 |
|
229 |
if type == "problem":
|
230 |
prompt = f"Find prior art patents or research paper online that address the technical problem: '{data}'. " \
|