games.fox_and_geese.engines¶
Engines for the Fox and Geese game.
This module defines the engines for the Fox and Geese game, which includes the move and analysis prompts.
Functions¶
Generate a prompt for analyzing the Fox's position. |
|
Generate a prompt for the fox to make a move. |
|
Generate a prompt for analyzing the Geese's position. |
|
Generate a prompt for the geese to make a move. |
Module Contents¶
- games.fox_and_geese.engines.generate_fox_analysis_prompt()¶
Generate a prompt for analyzing the Fox’s position.
This function constructs a prompt template for the fox analysis engine, which analyzes the current game state from the perspective of the fox player.
- Return type:
langchain_core.prompts.ChatPromptTemplate
- games.fox_and_geese.engines.generate_fox_move_prompt()¶
Generate a prompt for the fox to make a move.
This function constructs a prompt template for the fox move engine, which generates a move for the Fox and Geese game.
- Return type:
langchain_core.prompts.ChatPromptTemplate
- games.fox_and_geese.engines.generate_geese_analysis_prompt()¶
Generate a prompt for analyzing the Geese’s position.
This function constructs a prompt template for the geese analysis engine, which analyzes the current game state from the perspective of the geese player.
- Return type:
langchain_core.prompts.ChatPromptTemplate
- games.fox_and_geese.engines.generate_geese_move_prompt()¶
Generate a prompt for the geese to make a move.
This function constructs a prompt template for the geese move engine, which generates a move for the Fox and Geese game.
- Return type:
langchain_core.prompts.ChatPromptTemplate