haive.games.clue.engines¶

Engines for the Clue game.

This module contains the engines for the Clue game, including the player engines, guess engines, and analysis engines.

Functions¶

generate_analysis_prompt()

Generate a prompt for analyzing Clue game state.

generate_player_prompt()

Generate a prompt for playing Clue.

Module Contents¶

haive.games.clue.engines.generate_analysis_prompt()[source]¶

Generate a prompt for analyzing Clue game state.

This function constructs a prompt template for the analysis engine, which analyzes the current game state and provides insights.

Return type:

langchain_core.prompts.ChatPromptTemplate

haive.games.clue.engines.generate_player_prompt()[source]¶

Generate a prompt for playing Clue.

This function constructs a prompt template for the player engine, which makes guesses in the Clue game.

Return type:

langchain_core.prompts.ChatPromptTemplate