From the Node.js SDK it is possible to send server side the explicit user actions and feedback to the Nebuly platform. An example of these actions might be thumbs_up, thumbs_down, copy_input, copy_output.

Send feedback actions to Nebuly

To get send the feedback actions to the nebuly platform, you need to create an instance of the NebulySdk client. You need to pass your Nebuly API key as a parameter.

You can also provide the Nebuly API key in an environment variable NEBULY_API_KEY and it will be automatically detected.

import { NebulySdk } from "@nebuly-ai/nebuly-js-sdk"

const nebulySdk = new NebulySdk('NEBULY_API_KEY');

        slug: "thumbs_up",
        text: "Comment for a thumbs up"
        input: 'The input of the LLM system',
        output: 'The output of the LLM system',
        end_user: '<YOUR_USER_ID>'

Available actions are:

  • thumbs_up
  • thumbs_down
  • copy_input
  • copy_output
  • paste