Skip to content

Set LLM naming strategy prompts to return a json answer - #1610

Merged
arcuri82 merged 4 commits into
masterfrom
phg/llm-naming-json
Jun 26, 2026
Merged

Set LLM naming strategy prompts to return a json answer#1610
arcuri82 merged 4 commits into
masterfrom
phg/llm-naming-json

Conversation

@Pgarrett

@Pgarrett Pgarrett commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Since we're setting the LLM to respond in JSON, we need to make it clear in the prompt. We also added a fallback name just in case the name returned by the LLM is an invalid JSON or returns any invalid name according to the criteria.

@Pgarrett
Pgarrett requested a review from arcuri82 June 24, 2026 22:59
Comment thread core/src/main/kotlin/org/evomaster/core/llm/Prompts.kt
@Pgarrett
Pgarrett requested a review from arcuri82 June 26, 2026 02:09
@Pgarrett
Pgarrett requested a review from arcuri82 June 26, 2026 12:57
@arcuri82
arcuri82 merged commit 2912cca into master Jun 26, 2026
29 checks passed
@arcuri82
arcuri82 deleted the phg/llm-naming-json branch June 26, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants