Skip to content

Question about answer parse #8

Description

@Violettttee

I find such a response by 4o:

"[PLEASE OUTPUT YOUR REASONING]\n\nFor the first image:\n- The insect has a single pair of wings, which is a defining characteristic of the order Diptera (flies).\n- The body structure, including the presence of halteres (reduced hindwings), further supports this classification.\n\nAnswer: Diptera\n\nFor the second image:\n- The insect has two pairs of wings, with the hindwings smaller than the forewings.\n- The body structure, including the narrow waist and antennae, is characteristic of the order Hymenoptera (wasps, bees, ants).\n\nAnswer: Hymenoptera"

i seems that i give it a example image and a query image, so the model response for each image with an answer.I wonder how to deal with this situation?
In the code i find it will just extract the first response after "Answer"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions