cmgramse commited on
Commit
a095268
·
verified ·
1 Parent(s): 50cadfc

Create general_tools.py

Browse files
Files changed (1) hide show
  1. tools/general_tools.py +7 -0
tools/general_tools.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ def initialize_perplexity(api_key: str, model: str) -> str:
2
+ """Initialize Perplexity API with your API key and model.
3
+ Args:
4
+ api_key: Your Perplexity API key
5
+ model: The Perplexity model to use
6
+ """
7
+ return f"Perplexity API initialized successfully with model: {model}!"