Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.35 KB

perplexity.md

File metadata and controls

57 lines (41 loc) · 1.35 KB

📌 Important Note

Before configuring, please review:

Example Configuration

Basic Setup

aicommit2 config set PERPLEXITY.key="your-api-key"
aicommit2 config set PERPLEXITY.model="sonar-pro"

Advanced Setup

aicommit2 config set PERPLEXITY.key="your-api-key" \
  PERPLEXITY.model="sonar-pro" \
  PERPLEXITY.temperature=0.7 \
  PERPLEXITY.maxTokens=4000 \
  PERPLEXITY.locale="en" \
  PERPLEXITY.generate=3 \
  PERPLEXITY.topP=0.9

Settings

Setting Description Default
key API key -
model Model to use sonar

Configuration

PERPLEXITY.key

The Perplexity API key. If you don't have one, please sign up and get the API key in Perplexity

PERPLEXITY.model

Default: sonar

Supported:

  • sonar-pro
  • sonar
  • llama-3.1-sonar-small-128k-online
  • llama-3.1-sonar-large-128k-online
  • llama-3.1-sonar-huge-128k-online

The models mentioned above are subject to change.

aicommit2 config set PERPLEXITY.model="sonar-pro"