diff --git a/README.md b/README.md index 9df4b1c..affb352 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,18 @@ python3 txt2detection.py \ * Provider: `anthropic:`, models e.g.: `claude-3-5-sonnet-latest`, `claude-3-5-haiku-latest`, `claude-3-opus-latest` ([More here](https://docs.anthropic.com/en/docs/about-claude/models)) * Provider: `gemini:models/`, models: `gemini-1.5-pro-latest`, `gemini-1.5-flash-latest` ([More here](https://ai.google.dev/gemini-api/docs/models/gemini)) +e.g. + +```shell +python3 txt2detection.py \ + --input_file tests/files/CVE-2024-1212.txt \ + --name "lynx ransomware" \ + --tlp_level green \ + --labels label1,label2 \ + --detection_language spl \ + --ai_provider openai:gpt-4o +``` + ## Adding new detection languages Adding a new detection language is fairly trivial. However, there is a implicit understanding the model understands the detection rule structure. Results can therefore be mixed, so it is worth testing in detail. diff --git a/tests/README.md b/tests/README.md deleted file mode 100644 index f992c2b..0000000 --- a/tests/README.md +++ /dev/null @@ -1,10 +0,0 @@ - -```shell -python3 txt2detection.py \ - --input_file tests/files/CVE-2024-1212.txt \ - --name "lynx ransomware" \ - --tlp_level green \ - --labels label1,label2 \ - --detection_language spl \ - --ai_provider openai:gpt-4o -``` \ No newline at end of file