What do you want to automate

with Perplexity and Langfuse?

Prompt, edit and deploy AI agents that connect to Perplexity, Langfuse and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Chat Completions with Perplexity API on New Score Received from Langfuse API
Langfuse + Perplexity
 
Try it
Chat Completions with Perplexity API on New Trace Received from Langfuse API
Langfuse + Perplexity
 
Try it
New Score Received from the Langfuse API

Emit new event when user feedback (score) is submitted on a trace in Langfuse. See the documentation

 
Try it
New Trace Received from the Langfuse API

Emit new event when a new trace is recorded in Langfuse. See the documentation

 
Try it
Chat Completions with the Perplexity API

Generates a model's response for the given chat conversation. See the documentation

 
Try it
Add Feedback with the Langfuse API

Attach user feedback to an existing trace in Langfuse. See the documentation

 
Try it
Log Trace with the Langfuse API

Log a new trace in LangFuse with details. See the documentation

 
Try it
Integrate the Perplexity API with the Langfuse API
Setup the Perplexity API trigger to run a workflow which integrates with the Langfuse API. Pipedream's integration platform allows you to integrate Perplexity and Langfuse remarkably fast. Free for developers.

Overview of Perplexity

The Perplexity API offers advanced natural language processing capabilities, enabling users to generate answers, summaries, and insights from texts. Leveraging this API on Pipedream allows for the automation of content analysis, intelligent alert systems, and dynamic data enrichment, integrating seamlessly with various data sources and services for real-time processing.

Connect Perplexity

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    perplexity: {
      type: "app",
      app: "perplexity",
    }
  },
  async run({steps, $}) {
    const data = {
      "model": "mistral-7b-instruct",
      "messages": [
        {
          "role": "system",
          "content": "Be precise and concise."
        },
        {
          "role": "user",
          "content": "Can you tell me about the integration platform called Pipedream?"
        }
      ]
    }
    return await axios($, {
      method: "post",
      url: `https://api.perplexity.ai/chat/completions`,
      headers: {
        Authorization: `Bearer ${this.perplexity.$auth.api_key}`,
        "accept": `application/json`,
      },
      data,
    })
  },
})

Connect Langfuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    langfuse: {
      type: "app",
      app: "langfuse",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.langfuse.$auth.region}.langfuse.com/api/public/observations`,
      auth: {
        username: `${this.langfuse.$auth.public_key}`,
        password: `${this.langfuse.$auth.secret_key}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo