Skip to content

Refactor: separate prompts from agent code #36

Description

@ceberam

Implementations of BaseDoclingAgent are found in agent folder.
Those agents leverage hard-coded prompts or template prompts that are spread among public and private methods.
Those prompts are sometimes disconnected and may be inconsistent across agents.
In other cases, the chat prompt may overlap with the system prompt and create inefficiencies.

This issue consists of:

  • refactoring the agents by exporting all prompts in a separate module
  • align prompt style across agents

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions