You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perplexity is a popular platform that offers a completion API. Although they do not develop their own models, their completion API is able to search the web to generate responses, which can be very useful when building Rig applications.
Proposal
Create a new module rig::providers::perplexity which should roughly contain the following:
// src/providers/perplexity.rsstructClient{// TODO}structCompletionRequest{// Modeled after Anthropic API// TODO}implFrom<completion::CompletionRequest>forCompletionRequest{// TODO}structCompletionResponse{// Modeled after Anthropic API// TODO}implFrom<CompletionResponse>for completion::CompletionResponse<CompletionResponse>{// TODO}structCompletionModel{// TODO}impl completion::CompletionModelforCompletionModel{// TODO}
Feature Request
Add support for Perplexity models
Motivation
Perplexity is a popular platform that offers a completion API. Although they do not develop their own models, their completion API is able to search the web to generate responses, which can be very useful when building Rig applications.
Proposal
Create a new module
rig::providers::perplexity
which should roughly contain the following:Note: Use the existing provider integrations as a guide (see
rig::providers::openai
andrig::providers::cohere
).The text was updated successfully, but these errors were encountered: