All MicroEvals
ebbe a kódba: from exa_py import Exa import json import re ...
Create MicroEval
Header image for ebbe a kódba:

from exa_py import Exa
import json
import re
...

ebbe a kódba: from exa_py import Exa import json import re ...

Prompt

ebbe a kódba: from exa_py import Exa import json import re import unicodedata from datetime import datetime, timezone exa = Exa(api_key="8961cb7d-b016-4d18-8986-c1bca70344ca") query = "példa" result = exa.search( query, num_results=100, type="fast", contents={ "summary": True } ) summaries = [ { "summary": search_result.summary } for search_result in result.results ] normalized_query = unicodedata.normalize("NFKD", query) ascii_query = normalized_query.encode("ascii", "ignore").decode("ascii") filename_query = re.sub(r"[^a-zA-Z0-9]+", "_", ascii_query).strip("_").lower() filename_query = filename_query[:100].rstrip("_") timestamp = datetime.now(timezone.utc).strftime("%Y%m%d_%H%M%S_%f") output_filename = f"{filename_query}_{timestamp}.json" with open(output_filename, "w", encoding="utf-8") as json_file: json.dump(summaries, json_file, ensure_ascii=False, indent=2) integráld bele ezekez a szűrőket is de mint szabadon választható mert Ai nak készül skillnek: end_published_date = "2026-08-13T21:59:59.999Z", exclude_domains = ["pelda.com"], include_domains = ["pelda.com"], num_results = 100, start_published_date = "1999-12-31T23:00:00.000Z",

Drag to resize
Drag to resize
Drag to resize
Drag to resize