File size: 298 Bytes
a095268
 
 
 
 
 
 
1
2
3
4
5
6
7
def initialize_perplexity(api_key: str, model: str) -> str:
    """Initialize Perplexity API with your API key and model.
    Args:
        api_key: Your Perplexity API key
        model: The Perplexity model to use
    """
    return f"Perplexity API initialized successfully with model: {model}!"