model: | |
category: DeepSeek # model category, chosen from ChatGPT, DeepSeek, LLaMA, Qwen, ChatGLM, MiniCPM, OneKE. | |
model_name_or_path: deepseek-chat # model name, chosen from the model list of the selected category. | |
api_key: your_api_key # your API key for the model with API service. No need for open-source models. | |
base_url: https://api.deepseek.com # base URL for the API service. No need for open-source models. | |
extraction: | |
task: EE # task type, chosen from Base, NER, RE, EE. | |
text: UConn Health , an academic medical center , says in a media statement that it identified approximately 326,000 potentially impacted individuals whose personal information was contained in the compromised email accounts. # input text for the extraction task. No need if use_file is set to true. | |
constraint: {"phishing": ["damage amount", "attack pattern", "tool", "victim", "place", "attacker", "purpose", "trusted entity", "time"], "data breach": ["damage amount", "attack pattern", "number of data", "number of victim", "tool", "compromised data", "victim", "place", "attacker", "purpose", "time"], "ransom": ["damage amount", "attack pattern", "payment method", "tool", "victim", "place", "attacker", "price", "time"], "discover vulnerability": ["vulnerable system", "vulnerability", "vulnerable system owner", "vulnerable system version", "supported platform", "common vulnerabilities and exposures", "capabilities", "time", "discoverer"], "patch vulnerability": ["vulnerable system", "vulnerability", "issues addressed", "vulnerable system version", "releaser", "supported platform", "common vulnerabilities and exposures", "patch number", "time", "patch"]} # Specified event type and the corresponding arguments for the event extraction task. Structured as a dictionary with the event type as the key and the list of arguments as the value. Default set to empty. | |
use_file: false # whether to use a file for the input text. | |
mode: standard # extraction mode, chosen from quick, detailed, customized. Default set to quick. See src/config.yaml for more details. | |
update_case: false # whether to update the case repository. Default set to false. | |
show_trajectory: false # whether to display the extracted intermediate steps | |