Jobs
Introduction
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.
Overview
Quick Start
Python (w/ package)
Node.js (w/ package)
cURL
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-3.5-turbo",
messages=[
{"role": "user", "content": f"Hello!"}
],
heliconeMeta=Meta(
node_id=create_course_outline.id,
)
)
Viewing Jobs
By navigating to helicone.ai/jobs, you can view all your jobs along with their current status.
Clicking on a specific job will redirect you to the job page where you can observe the nodes and their respective status.
This can be viewed in both a list format
and a graphical representation