Skip to content

Commit

Permalink
💄 style: update Perplexity models (lobehub#3380)
Browse files Browse the repository at this point in the history
* 💄 style: update Perplexity models

* 💄 style: update model name
  • Loading branch information
hezhijie0327 authored Aug 1, 2024
1 parent aa5944f commit 06cb946
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions src/config/modelProviders/perplexity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,41 @@ import { ModelProviderCard } from '@/types/llm';
const Perplexity: ModelProviderCard = {
chatModels: [
{
displayName: 'Perplexity 8B Chat',
id: 'llama-3-sonar-small-32k-chat',
tokens: 32_768,
},
{
displayName: 'Perplexity 70B Chat',
displayName: 'Llama3.1 Sonar Small Chat',
enabled: true,
id: 'llama-3-sonar-large-32k-chat',
tokens: 32_768,
id: 'llama-3.1-sonar-small-128k-chat',
tokens: 128_000,
},
{
displayName: 'Perplexity 8B Online',
id: 'llama-3-sonar-small-32k-online',
tokens: 28_000,
displayName: 'Llama3.1 Sonar Large Chat',
enabled: true,
id: 'llama-3.1-sonar-large-128k-chat',
tokens: 128_000,
},
{
displayName: 'Perplexity 70B Online',
displayName: 'Llama3.1 Sonar Small Online',
enabled: true,
id: 'llama-3-sonar-large-32k-online',
tokens: 28_000,
id: 'llama-3.1-sonar-small-128k-online',
tokens: 128_000,
},
{
displayName: 'Llama3 8B Instruct',
id: 'llama-3-8b-instruct',
tokens: 8192,
displayName: 'Llama3.1 Sonar Large Online',
enabled: true,
id: 'llama-3.1-sonar-large-128k-online',
tokens: 128_000,
},
{
displayName: 'Llama3 70B Instruct',
id: 'llama-3-70b-instruct',
tokens: 8192,
displayName: 'Llama3.1 8B Instruct',
id: 'llama-3.1-8b-instruct',
tokens: 128_000,
},
{
displayName: 'Mixtral 8x7B Instruct',
id: 'mixtral-8x7b-instruct',
tokens: 16_384,
displayName: 'Llama3.1 70B Instruct',
id: 'llama-3.1-70b-instruct',
tokens: 128_000,
},
],
checkModel: 'llama-3-8b-instruct',
checkModel: 'llama-3.1-8b-instruct',
id: 'perplexity',
name: 'Perplexity',
proxyUrl: {
Expand Down

0 comments on commit 06cb946

Please sign in to comment.