- Add summarize_with_perplexity.py script for generating summaries using Perplexity API - Add config.json for configurable API settings, model parameters, and file paths - Support for custom prompts and transcript files - Configurable logging and output formatting - Integration with existing YouTube transcription workflow
24 lines
880 B
JSON
24 lines
880 B
JSON
{
|
|
"api": {
|
|
"key": "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",
|
|
"base_url": "https://api.perplexity.ai/chat/completions",
|
|
"model": "llama-3.1-sonar-small-128k-online",
|
|
"timeout": 60
|
|
},
|
|
"generation": {
|
|
"max_tokens": 4000,
|
|
"temperature": 0.7,
|
|
"top_p": 0.9,
|
|
"stream": false
|
|
},
|
|
"system_prompt": "You are an expert astrological analyst and educator specializing in Vedic astrology and ALP methodology. You provide comprehensive, accurate, and culturally authentic analysis in both Tamil and English languages.",
|
|
"files": {
|
|
"default_transcript": "captions/c7bbO_KSLPI_complete_transcript.txt",
|
|
"default_prompt": "prompts/summarize_in_tamil.txt",
|
|
"output_suffix": "_summary.md"
|
|
},
|
|
"logging": {
|
|
"verbose": true,
|
|
"show_progress": true
|
|
}
|
|
} |