ExtractorCreateRequest

Properties

Name

Type

Description

Notes

name

str

Human-readable name

description

str

What this extractor does

llm

str

Identifier or version of the language model the extractor uses

var_schema

str

JSONSchema (or other spec) that the extractor outputs

Example

from h2ogpte.rest_async.models.extractor_create_request import ExtractorCreateRequest

# TODO update the JSON string below
json = "{}"
# create an instance of ExtractorCreateRequest from a JSON string
extractor_create_request_instance = ExtractorCreateRequest.from_json(json)
# print the JSON string representation of the object
print(ExtractorCreateRequest.to_json())

# convert the object into a dict
extractor_create_request_dict = extractor_create_request_instance.to_dict()
# create an instance of ExtractorCreateRequest from a dict
extractor_create_request_from_dict = ExtractorCreateRequest.from_dict(extractor_create_request_dict)