haive.games.poker.prompts¶

Enhanced prompt templates for poker agent with structured output.

This module provides improved prompt templates for the poker agent that: 1. Clearly instruct models to use structured output format 2. Include more detailed game context and examples 3. Provide clear instruction on legal moves 4. Have better formatting for readability by LLMs

Functions¶

get_example_decisions(player_style)

Get example decisions appropriate for the playing style.

get_system_prompt(player_style)

Get the system prompt for a given player style.

Module Contents¶

haive.games.poker.prompts.get_example_decisions(player_style)[source]¶

Get example decisions appropriate for the playing style.

Parameters:

player_style (str)

Return type:

list

haive.games.poker.prompts.get_system_prompt(player_style)[source]¶

Get the system prompt for a given player style.

Parameters:

player_style (str)

Return type:

str