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_go_aug_llms()

Build augmented LLM configurations for Go game.

generate_analysis_prompt()

Generate analysis prompt for Go position evaluation.

generate_black_prompt()

Generate prompt for black player.

generate_white_prompt()

Generate prompt for white player.

get_analyzer_engine()

Get the game analyzer engine.

get_black_engine()

Get the black player engine.

get_white_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:

dict[str, AugLLMConfig]

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:

haive.core.engine.aug_llm.AugLLMConfig

games.go.engines.get_black_engine()¶

Get the black player engine.

Return type:

haive.core.engine.aug_llm.AugLLMConfig

games.go.engines.get_white_engine()¶

Get the white player engine.

Return type:

haive.core.engine.aug_llm.AugLLMConfig