haive.games.poker.engines ========================= .. py:module:: haive.games.poker.engines .. autoapi-nested-parse:: Poker agent LLM configurations and prompts. This module defines the language model configurations and prompt templates for different poker playing styles and roles. It includes: - Player prompt generation for different styles - Hand analysis prompt generation - LLM provider selection and configuration - Agent configuration creation The module supports multiple LLM providers (Azure, DeepSeek, Anthropic, Gemini, Mistral) and configures them with appropriate models and prompts for poker gameplay. Functions --------- .. autoapisummary:: haive.games.poker.engines.create_default_agent_configs haive.games.poker.engines.create_llm_config_for_provider haive.games.poker.engines.create_poker_agent_configs haive.games.poker.engines.generate_hand_analysis_prompt haive.games.poker.engines.generate_poker_prompt haive.games.poker.engines.get_available_providers haive.games.poker.engines.get_model_for_provider haive.games.poker.engines.get_poker_llm_provider Module Contents --------------- .. py:function:: create_default_agent_configs(config) Create default configurations for poker agents based on config. .. py:function:: create_llm_config_for_provider(provider, **kwargs) Create an LLM configuration for a specific provider. .. py:function:: create_poker_agent_configs() Create structured configurations for poker agents. .. py:function:: generate_hand_analysis_prompt() Generate a structured prompt for poker hand analysis. .. py:function:: generate_poker_prompt(player_style) Generate a structured prompt for a poker player. .. py:function:: get_available_providers() Determine all available LLM providers based on environment variables. .. py:function:: get_model_for_provider(provider) Get the best model for a given provider. .. py:function:: get_poker_llm_provider() Determine the best available LLM provider.