games.go.engines¶
Go game engines using AugLLMConfig.
- This module provides LLM engine configurations for Go game agents, including:
Player engines for black and white players
Analyzer engines for position evaluation and strategy
Prompt templates with Go-specific instructions
Structured output models for moves and analysis
The engines use LLM configurations optimized for strategic gameplay, with prompt templates designed to generate high-quality moves and analysis.
Functions¶
Build augmented LLM configurations for Go game. |
|
Generate analysis prompt for Go position evaluation. |
|
Generate prompt for black player. |
|
Generate prompt for white player. |
|
Get the game analyzer engine. |
|
Get the black player engine. |
|
Get the white player engine. |
Module Contents¶
- games.go.engines.build_go_aug_llms()¶
Build augmented LLM configurations for Go game.
- Returns:
Dictionary of engine configurations
- Return type:
- games.go.engines.generate_analysis_prompt()¶
Generate analysis prompt for Go position evaluation.
- Returns:
A prompt template for position analysis
- Return type:
ChatPromptTemplate
- games.go.engines.generate_black_prompt()¶
Generate prompt for black player.
- Returns:
A prompt template for black player gameplay
- Return type:
ChatPromptTemplate
- games.go.engines.generate_white_prompt()¶
Generate prompt for white player.
- Returns:
A prompt template for white player gameplay
- Return type:
ChatPromptTemplate
- games.go.engines.get_analyzer_engine()¶
Get the game analyzer engine.
- Return type:
- games.go.engines.get_black_engine()¶
Get the black player engine.
- Return type:
- games.go.engines.get_white_engine()¶
Get the white player engine.
- Return type: