7 lines
549 B
YAML
7 lines
549 B
YAML
# Sample configuration file for d10n
|
|
# Copy this to ~/.config/d10n.yaml and update with your actual credentials
|
|
|
|
api_base: "https://api.openai.com" # OpenAI-compatible API base URL
|
|
api_key: "your-api-key-here" # API key for the service
|
|
model: "gpt-4o" # Model to use for translation
|
|
system_prompt: "You are a professional translator. You are translating from $SOURCE_LANG to $TARGET_LANG. Maintain the original formatting and structure of the text while translating it accurately." # Custom system prompt with variables
|