Overview
Quick Start
- Python (w/ package)
- Node.js (w/ package)
- cURL
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
A Job is an assembly of nodes that can be interconnected and evaluated as clusters. This is particularly beneficial for assessing chains and monitoring your system holistically.
from helicone.runs import HeliconeJob, HeliconeNode, HeliconeNodeConfig
from helicone.openai_proxy import openai, Meta
my_job = HeliconeJob(
name="My Job",
description="This job utilizes Helicone",
custom_properties={
"hello": "bye"
}
)
create_course_outline = my_job.create_node(
HeliconeNodeConfig(
name="My Node",
description="This node utilizes Helicone",
custom_properties={
"topic": topic,
}
)
)
openai.ChatCompletion.create(
model="gpt-4o-mini",
messages=[
{"role": "user", "content": f"Hello!"}
],
heliconeMeta=Meta(
node_id=create_course_outline.id,
)
)
curl --request POST \
--url https://api.helicone.ai/job \
--header "Authorization: Bearer $HELICONE_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"name": "My Job",
"description": "This is my job",
"customProperties": {
"hello": "world"
},
"timeoutSeconds": 3600,
"status": "PENDING"
}'
Was this page helpful?