Skip to content

Commit 39b7c5b

Browse files
Update providers/perplexity.mdx
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 8a2cc1f commit 39b7c5b

1 file changed

Lines changed: 25 additions & 198 deletions

File tree

providers/perplexity.mdx

Lines changed: 25 additions & 198 deletions
Original file line numberDiff line numberDiff line change
@@ -1,212 +1,39 @@
11
---
22
title: Perplexity
3-
description: Access Perplexity's Sonar AI models with built-in web search, real-time data access, and source citations for research-focused tasks.
3+
description: Configure Perplexity's Sonar models with integrated web search for research tasks.
44
---
55

6-
Perplexity provides AI models with integrated search capabilities, allowing models to access real-time information and provide more accurate, up-to-date responses based on current web data.
6+
**Website:** [https://www.perplexity.ai/](https://www.perplexity.ai/)
77

8-
## Overview
8+
## Getting an API Key
99

10-
Perplexity combines advanced language models with web search functionality, enabling AI to provide responses based on the latest available information. Their Sonar models are specifically designed for research, analysis, and knowledge-intensive tasks.
10+
1. Go to [Perplexity AI](https://www.perplexity.ai/) and sign in
11+
2. Navigate to Settings > API
12+
3. Create a new API key
13+
4. Copy the key immediately
1114

12-
<CardGroup cols={3}>
13-
<Card title="Real-time Search" icon="search">
14-
Access current web information and data
15-
</Card>
16-
<Card title="Research Focused" icon="book-open">
17-
Specialized for analysis and research tasks
18-
</Card>
19-
<Card title="Citation Support" icon="link">
20-
Sources and references for information
21-
</Card>
22-
</CardGroup>
15+
## Configuration
2316

24-
## Available Models
17+
1. Click the settings icon (⚙️) in CodinIT
18+
2. Select "Perplexity" as the API Provider
19+
3. Paste your API key
20+
4. Choose your model
2521

26-
<AccordionGroup>
27-
<Accordion title="Sonar Series" icon="radar">
28-
### Sonar Base Models
29-
Standard models with integrated search capabilities.
22+
## Supported Models
3023

31-
- **Sonar**: Basic model with web search integration
32-
- **Sonar Pro**: Enhanced model with advanced search features
33-
- **Best for**: General research, current events, fact-checking
24+
- `sonar` - Basic model with web search
25+
- `sonar-pro` - Enhanced search features
26+
- `sonar-reasoning` - Advanced reasoning with search
27+
- `sonar-reasoning-pro` - Professional-grade reasoning
3428

35-
</Accordion>
29+
## Features
3630

37-
<Accordion title="Sonar Reasoning" icon="brain">
38-
### Sonar Reasoning Models
39-
Advanced models with enhanced reasoning and analysis capabilities.
31+
- **Web search:** Integrated real-time web search
32+
- **Source citations:** References for all information
33+
- **Real-time data:** Access to current information
34+
- **Research focused:** Optimized for research tasks
4035

41-
- **Sonar Reasoning**: Advanced reasoning with search integration
42-
- **Sonar Reasoning Pro**: Professional-grade reasoning and research
43-
- **Best for**: Complex analysis, academic research, technical problems
36+
## Notes
4437

45-
</Accordion>
46-
</AccordionGroup>
47-
48-
## Setup Instructions
49-
50-
<Steps>
51-
<Step title="Create Account">Visit [Perplexity AI](https://www.perplexity.ai/) and create an account</Step>
52-
<Step title="Access API Settings">Navigate to Settings > API in your Perplexity account</Step>
53-
<Step title="Generate API Key">Create a new API key for model access</Step>
54-
<Step title="Configure in Codinit">Add your Perplexity API key to the provider settings</Step>
55-
<Step title="Test Search Integration">Try queries that require current information to test search capabilities</Step>
56-
</Steps>
57-
58-
## Key Features
59-
60-
<BadgeGroup>
61-
<Badge variant="secondary">Web Search</Badge>
62-
<Badge variant="secondary">Real-time Data</Badge>
63-
<Badge variant="secondary">Source Citations</Badge>
64-
<Badge variant="secondary">Research Focused</Badge>
65-
<Badge variant="secondary">Fact Checking</Badge>
66-
</BadgeGroup>
67-
68-
### Platform Advantages
69-
70-
- **Integrated Search**: Models can access current web information automatically
71-
- **Source Transparency**: Citations and references for all information provided
72-
- **Real-time Updates**: Access to the latest news, data, and developments
73-
- **Research Enhancement**: Better performance on research and analytical tasks
74-
- **Fact Verification**: Cross-referencing information for accuracy
75-
76-
## Use Cases
77-
78-
<AccordionGroup>
79-
<Accordion title="Research & Analysis" icon="search">
80-
### Academic Research
81-
Perfect for research tasks requiring current and accurate information.
82-
83-
- Academic research and literature review
84-
- Current events analysis
85-
- Market research and trends
86-
- Scientific paper analysis
87-
- Competitive intelligence
88-
89-
</Accordion>
90-
91-
<Accordion title="Business Intelligence" icon="building">
92-
### Business Applications
93-
Excellent for business research and decision-making.
94-
95-
- Market analysis and reporting
96-
- Industry trend monitoring
97-
- Competitive analysis
98-
- Business intelligence gathering
99-
- Strategic planning support
100-
101-
</Accordion>
102-
103-
<Accordion title="Current Events" icon="newspaper">
104-
### News & Information
105-
Ideal for staying updated with current events and information.
106-
107-
- News analysis and summarization
108-
- Breaking news monitoring
109-
- Event impact assessment
110-
- Real-time information queries
111-
- Fact-checking and verification
112-
113-
</Accordion>
114-
115-
<Accordion title="Technical Research" icon="code">
116-
### Technical Analysis
117-
Suitable for technical research and problem-solving.
118-
119-
- Technical documentation research
120-
- API and tool research
121-
- Technology trend analysis
122-
- Development resource discovery
123-
- Technical problem-solving
124-
125-
</Accordion>
126-
</AccordionGroup>
127-
128-
## Pricing Information
129-
130-
Perplexity offers straightforward pricing based on usage:
131-
132-
<TokenPricing>
133-
<TokenPricingItem model="Sonar" input="$0.005" output="$0.005" />
134-
<TokenPricingItem model="Sonar Pro" input="$0.005" output="$0.005" />
135-
<TokenPricingItem model="Sonar Reasoning" input="$0.005" output="$0.005" />
136-
<TokenPricingItem model="Sonar Reasoning Pro" input="$0.005" output="$0.005" />
137-
</TokenPricing>
138-
139-
<Callout type="info">
140-
**Search Costs**: Web search functionality is included in the token pricing. No additional search fees.
141-
</Callout>
142-
143-
<Callout type="tip">
144-
**Model Selection**: Use Sonar Pro for most applications. Choose Sonar Reasoning models for complex analytical tasks.
145-
</Callout>
146-
147-
<Callout type="warning">
148-
**Rate Limits**: Perplexity implements rate limits based on your account tier. Monitor usage to avoid interruptions.
149-
</Callout>
150-
151-
## Search Integration
152-
153-
<AccordionGroup>
154-
<Accordion title="How Search Works" icon="cog">
155-
### Search Mechanism
156-
Understanding how Perplexity integrates search with AI responses.
157-
158-
- **Automatic Search**: Models search the web when needed for current information
159-
- **Source Selection**: Chooses reliable sources and recent information
160-
- **Citation System**: Provides links and references for all information
161-
- **Fact Verification**: Cross-references information for accuracy
162-
163-
</Accordion>
164-
165-
<Accordion title="Search Capabilities" icon="globe">
166-
### Search Features
167-
Advanced search capabilities built into the models.
168-
169-
- **Real-time Data**: Access to current news, prices, and statistics
170-
- **Comprehensive Coverage**: Searches across multiple reliable sources
171-
- **Quality Filtering**: Prioritizes high-quality, authoritative sources
172-
- **Freshness Priority**: Emphasizes recent and up-to-date information
173-
174-
</Accordion>
175-
176-
<Accordion title="Citation System" icon="file-text">
177-
### Source Transparency
178-
How Perplexity provides transparency in its responses.
179-
180-
- **Source Links**: Direct links to original sources
181-
- **Citation Markers**: Clear indicators of cited information
182-
- **Source Quality**: Indicators of source reliability and recency
183-
- **Verification**: Cross-referenced information for accuracy
184-
185-
</Accordion>
186-
</AccordionGroup>
187-
188-
## Best Practices
189-
190-
<AccordionGroup>
191-
<Accordion title="Effective Queries" icon="target">
192-
### Query Optimization
193-
Tips for getting the best results from Perplexity models.
194-
195-
- **Be Specific**: Clear, specific questions get better results
196-
- **Include Context**: Provide background information when relevant
197-
- **Specify Timeframes**: Mention if you need current vs. historical information
198-
- **Request Citations**: Ask for sources when accuracy is critical
199-
200-
</Accordion>
201-
202-
<Accordion title="Research Workflows" icon="workflow">
203-
### Research Strategies
204-
Effective ways to use Perplexity for research tasks.
205-
206-
- **Iterative Refinement**: Start broad, then narrow down queries
207-
- **Cross-Verification**: Use multiple queries to verify information
208-
- **Source Evaluation**: Check the quality and recency of sources
209-
- **Follow-up Questions**: Ask for clarification or additional details
210-
211-
</Accordion>
212-
</AccordionGroup>
38+
- **Pricing:** Search functionality included in token pricing
39+
- **Use cases:** Research, fact-checking, current events

0 commit comments

Comments
 (0)