Skip to main content

HumanReviewSets

List HumanReviewSets

Get all human review sets
from orq_ai_sdk import Orq
import os

with Orq(
    api_key=os.getenv("ORQ_API_KEY", ""),
) as orq:

    res = orq.human_review_sets.list()

    # Handle response
    print(res)

Create a HumanReviewSet

Create a human review set
from orq_ai_sdk import Orq
import os

with Orq(
    api_key=os.getenv("ORQ_API_KEY", ""),
) as orq:

    res = orq.human_review_sets.create()

    # Handle response
    print(res)

Retrieve a HumanReviewSet

Get a human review set by ID
from orq_ai_sdk import Orq
import os

with Orq(
    api_key=os.getenv("ORQ_API_KEY", ""),
) as orq:

    res = orq.human_review_sets.get(id="<id>")

    # Handle response
    print(res)

Update a HumanReviewSet

Update a human review set
from orq_ai_sdk import Orq
import os

with Orq(
    api_key=os.getenv("ORQ_API_KEY", ""),
) as orq:

    res = orq.human_review_sets.update(id="<id>")

    # Handle response
    print(res)

Delete a HumanReviewSet

Delete a human review set
from orq_ai_sdk import Orq
import os

with Orq(
    api_key=os.getenv("ORQ_API_KEY", ""),
) as orq:

    orq.human_review_sets.delete(id="<id>")

    # Use the SDK ...