Skip to content

Some items have no properties because ML extraction fails #141

Open

Description

@disconsented

Some items have no properties because the ML extraction fails for them.

Possible cause: the prompt is larger than the model context. The README runs llama.cpp with -c 4096, and the prompt includes the full item description. A long description, or a description plus the prompt template, can go past that limit. llama.cpp then rejects the request or cuts off the answer, and extract in src/processing/llama_actor.rs fails with no properties.

To do:

  • Find the items with an ML run but no properties, and log the error and finish_reason for each.
  • Confirm if the failures come from context size.
  • If so, count or estimate the tokens before the request, and cut the description to fit. Alternatively increase -c, but that costs memory (see the llama.cpp memory issue).
  • Record the failure on the item, so a failed item is not the same as an item with no properties.

Activity

  1. added
    bug
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions