heymenn commited on
Commit
a4232fc
·
verified ·
1 Parent(s): 31b55cd

Update src/services/processor.py

Browse files
Files changed (1) hide show
  1. src/services/processor.py +1 -1
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['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}'. " \
 
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}'. " \