https://github.com/vladimirkucin634/perplexityipynb
Perplexity AI in iPython Notebooks
https://github.com/vladimirkucin634/perplexityipynb
ai ipynb perplexity
Last synced: 7 months ago
JSON representation
Perplexity AI in iPython Notebooks
- Host: GitHub
- URL: https://github.com/vladimirkucin634/perplexityipynb
- Owner: vladimirkucin634
- License: mit
- Created: 2023-12-29T19:16:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T09:38:41.000Z (over 1 year ago)
- Last Synced: 2025-02-12T19:06:11.880Z (8 months ago)
- Topics: ai, ipynb, perplexity
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PerplexityIPYNB
PerplexityIPYNB is a Python module that allows you to interact with the Perplexity AI.\
*New in 1.1: magic commands support for cell and row*\
*New in 1.1.1: fixed websocket problem*
## InstallationYou can install PerplexityIPYNB using pip. Run the following command in your terminal:
```bash
pip install PerplexityIPYNB
```## Usage
### Functional
```python
from PerplexityIPYNB import Perplexityai = Perplexity()
prompt = input()print(ai.RUN(prompt))
```
### Magic commands
```python
%%perplexity
prompt
```
or
```python
%perplexity prompt
```