OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.3k stars 930 forks source link

[AI] "Summaries file"on all files does not always work #8413

Open Lhorus6 opened 1 month ago

Lhorus6 commented 1 month ago

Description

When I launch the AI ​​to summarize the associated files, if the file comes from an External Reference, it is not found when running on all files. Let me explain:

When you launch the feature, you can choose which file you want to summarize. If you do not select any file, by default, the AI ​​summarizes them all. The problem occurs when:

image

In these conditions the AI ​​tells us "Unable to summarize files as no file is associated to this entity."

image

However, if I decide to select my file, it appears fine. And if I select it, it works.

image

If I attach a file manually by uploading a pdf, I do not have this bug.

Environment

OCTI 6.3.1

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Create a Report
  2. Create an External Ref attach to it with this URL : https://thehackernews.com/2024/09/wordpress-mandates-two-factor.html
  3. Run the enrichment connector ImportExternalReference to import the page in pdf format.
  4. Once the pdf has been generated, click on the button "Ask AI", then "Summarize associated files"
  5. Click on "generate" without changing any option.
romain-filigran commented 1 month ago

@frapuks : Could you look into this issue, as you're working on this subject ?