-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Perplexity API #141
Comments
You must pop your Perplexity API key into the example.env file provided. You'll then need to rename this file to ".env": just the extension, no filename needed for everything to run smoothly. Inside you'll find a line that says API_KEY_PERPLEXITY= where you can insert your key. |
I did it just that way, but not works, when i try to prompt its not doing anything, i think you must modify the intialize file with perplexity line |
Let's do some troubleshooting because I assure you it works flawlessly for me without adding any code, just the API key. When you prompt the search, does it actually perform an online search? I mean, does A0's knowledge_tool kick off with the query for online retrieval? You could add some code to specifically instruct Perplexity to search for reviews only, or only scientific papers, but for standard usage simply inserting the API key just works. Let me know please. |
I don't add any API key because i don't have it, when i prompt something, nothing happen, it only works with minimum 1 API? In Linux, if i rename the file to .env , it will be a hidden file. Whic is the best solution? |
@conocimiento-transformador Late reply, btw you can use VS Code or a code editor to edit the .env file without it disappearing. |
when i prompt its not doing anything, nothing happens, is there any conflict if i have Python 3 installed? |
It shouldn't be a problem as Agent Zero must be run inside the conda environment with its own instance of Python 3.11.9. |
Similar issue on my side. I added the perplexity ai api token to the .env file. Whatever I prompt, perplexity is not used. |
Same. Running python in conda. |
I figured the issue out, at least for me. I had to close my Cursor IDE entirely and restart everything after I added the api key in the .env file for perplexity. Now it works! |
I have the Perplexity API but i dont know how to add it to the initialize file en agent zero, can someone knows how?
The text was updated successfully, but these errors were encountered: