Docs

Getting Started

To get started with our library, install it using pip:

pip install call-to-change

Usage Example

Here’s a simple example of how to use CallToChange in your project:

from openai import OpenAI
from call_to_change import log

client = OpenAI()

log(client, 'test@test.com')

response = client.chat.completions.create(
  model="gpt-4o-mini",
  messages=[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Who won the world series in 2020?"},
  ]
)

print(response.choices[0].message.content)

Behind The Scenes

Our library consists of multiple systems:

  • Next.js for our full-stack application

  • Clerk for user authentication

  • SUI for carbon offset transactions

  • SingleStore for blazingly fast data updates