Skip to main content
It takes less than 2 minutes to track interactions to Nebuly. In this guide, we provide some guidance on what to track and how to track it. We recommend starting with just one interaction to gain an immediate understanding of the product.
To create your first Nebuly’s API Key follow the next steps:
  • Go to ⚙️ settings and navigate to “project settings”;
  • Create a new project (if you don’t have one already) and give it a name (e.g. Internal chatbot);
  • Add an API Key and assign a name to the key.
Now you can start using the SDK and track your first interaction.
Use your LLMs as usual, just add:
  1. Nebuly’s API key;
  2. user_id within the model call.
  • OpenAI
  • Anthropic
  • Cohere
  • HuggingFace
  • LangChain
  • Custom endpoint
Python Example
import nebuly
import openai

nebuly.init(api_key="<nebuly_api_key>")
openai.api_key = "<your_openai_api_key>"

response = openai.ChatCompletion.create(
    model="gpt-3.5-turbo",
    messages=[
        {
            "role": "system",
            "content": "You are an helpful assistant"
        },
        {
            "role": "user",
            "content": "Hello, I need help with my computer"
        }
    ],
    user_id="test_user",
)
Check out the Accordion docs for all the supported props.
Please visit the tracking sections for all the API details.
I