From 4d066e0517455e3046971af13420af48456ed409 Mon Sep 17 00:00:00 2001 From: Ajay Raj Merchia Date: Fri, 6 Dec 2024 15:49:39 -0500 Subject: [PATCH 1/3] Update perpelxity how to --- plugins/perplexity-online-search/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/perplexity-online-search/README.md b/plugins/perplexity-online-search/README.md index 469f6907..df68ba33 100644 --- a/plugins/perplexity-online-search/README.md +++ b/plugins/perplexity-online-search/README.md @@ -43,7 +43,7 @@ Based on the needs of this use case, we should build a **Custom RAG Query**. There’s only 1 API needed to build this use case. If we look at Perplexity’s API reference, there’s only one endpoint: [Chat Completions](https://docs.perplexity.ai/reference/post_chat_completions). -Based on the [Supported Models](https://docs.perplexity.ai/docs/model-cards#online-llms) documentation, we want to do an online search, so we should use either `pplx-7b-online` or `pplx-70b-online`. We should be careful about [pricing](https://docs.perplexity.ai/docs/pricing) for these models. +Based on the [Supported Models](https://docs.perplexity.ai/guides/model-cards) documentation, we want to do an online search, so we should use either `llama-3.1-sonar-small-128k-online` or `llama-3.1-sonar-large-128k-online`. We should be careful about [pricing](https://docs.perplexity.ai/docs/pricing) for these models. # Prerequisites @@ -75,7 +75,7 @@ Based on the [Supported Models](https://docs.perplexity.ai/docs/model-cards#onli --header 'content-type: application/json' \ --data ' { - "model": "pplx-70b-online", + "model": "llama-3.1-sonar-large-128k-online", "messages": [ { "role": "system", @@ -96,7 +96,7 @@ Based on the [Supported Models](https://docs.perplexity.ai/docs/model-cards#onli ```json { - "model": "pplx-70b-online", + "model": "llama-3.1-sonar-large-128k-online", "messages": [ { "role": "system", @@ -167,4 +167,4 @@ Note: It could take a couple minutes before your flow shows up in your copilot. # Congratulations! -You just added Perplexity Online Search results to your Copilot! Check out our other guides for inspiration on what to build next. \ No newline at end of file +You just added Perplexity Online Search results to your Copilot! Check out our other guides for inspiration on what to build next. From c9ab3bfda8a4b397c9da8e1f191089748d8ef166 Mon Sep 17 00:00:00 2001 From: Ajay Raj Merchia Date: Fri, 6 Dec 2024 15:53:01 -0500 Subject: [PATCH 2/3] Update block_0.sh --- plugins/perplexity-online-search/.codeblocks/block_0.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/perplexity-online-search/.codeblocks/block_0.sh b/plugins/perplexity-online-search/.codeblocks/block_0.sh index a9544356..fec432a8 100644 --- a/plugins/perplexity-online-search/.codeblocks/block_0.sh +++ b/plugins/perplexity-online-search/.codeblocks/block_0.sh @@ -4,7 +4,7 @@ curl --request POST \ --header 'content-type: application/json' \ --data ' { - "model": "pplx-70b-online", + "model": "llama-3.1-sonar-large-128k-online", "messages": [ { "role": "system", From f2dc0d6d9c15f823a545d9fa848abf37218cbca5 Mon Sep 17 00:00:00 2001 From: Ajay Raj Merchia Date: Fri, 6 Dec 2024 15:53:16 -0500 Subject: [PATCH 3/3] Update block_1.json --- plugins/perplexity-online-search/.codeblocks/block_1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/perplexity-online-search/.codeblocks/block_1.json b/plugins/perplexity-online-search/.codeblocks/block_1.json index db586de1..2a04e809 100644 --- a/plugins/perplexity-online-search/.codeblocks/block_1.json +++ b/plugins/perplexity-online-search/.codeblocks/block_1.json @@ -1,5 +1,5 @@ { - "model": "pplx-70b-online", + "model": "llama-3.1-sonar-large-128k-online", "messages": [ { "role": "system",