pynamer/config.yaml

25 lines
934 B
YAML

# PyNamer Configuration
# LLM API Configuration
llm:
provider: "openai" # Provider name (openai, anthropic, etc.)
model: "gpt-4o-mini" # Model name
api_key: "" # Your API key (leave empty to use environment variable)
endpoint: "" # Custom endpoint URL (if using a proxy or alternative service)
max_tokens: 100 # Maximum tokens for response
temperature: 0.7 # Temperature for generation
# Image Processing
image:
supported_formats:
- ".jpg"
- ".jpeg"
- ".png"
- ".gif"
- ".webp"
# Prompt Configuration
prompt:
system_message: "You are a helpful assistant that generates concise, descriptive filenames for images. Focus on the main subject, key attributes, and context. Use snake_case format without special characters."
user_message: "Generate a descriptive filename for this image. The filename should be concise, specific, and use snake_case format. Do not include a file extension."