docling-project / docling-project/docling-agent

Refactor: separate prompts from agent code

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
166
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Implementations of `BaseDoclingAgent` are found in [agent](https://github.com/docling-project/docling-agent/tree/main/docling_agent/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.