Perplexity

tool

Using Perplexity as a Search Tool

abhiactually
@abhiactually
·
2 years ago
1.3K
0
3.3K
Created Dec 13, 2024
perplexity.py
Python · 145 lines
"""
title: Perplexity Web Search Tool
author: abhshk
version: 0.1.0
license: MIT
"""

from pydantic import BaseModel, Field
from typing import Optional, Callable, Any, Dict, List
import requests
import asyncio

Using Perplexity as a Search Tool


0