AfterAIDataResourceEditContext | |
AfterAIDataResourceEditHookFn | <p>Shape of a hook function that is invoked after an AI edit has been performed on a data resource. The function can alter the success or value of the edit performed by the LLM.</p><p>This hook allows you to: - Apply custom business rules to AI-generated edits - Detect and correct hallucinations in AI output - Transform the AI result into a different format - Validate that the AI edit meets your specific requirements</p><p>NOTE: this function is only invoked when a value is edited. If the value is cleared or reset, the function is not invoked (those are internally handled).</p><p>NOTE: in most cases, you want createAIDataResourceEdit well before this hook. This hook allows catching hallucinations, applying deterministic business rules, or transforming the format of the AI result into another format.</p> |
AfterAIDataResourceEditResult | |
AfterAIEditContext | |
AfterAIEditHookFn | <p>Shape of a hook function that is invoked after an AI edit has been performed to a custom property type. The function can alter the success or value of the edit performed by the LLM.</p><p>NOTE: this function is only invoked when a value is edited. If the value is cleared or overrides reset, the function is not invoked (those are internally handled)</p><p>NOTE: in most cases, you want createAIEdit well before this hook. This hook allows catching hallucinations, applying deterministic business rules, or transforming the format of the AI result into another format.</p> |
AfterAIEditResult | |
ConvertBatchResultsToEdgehancerResultOptions | |
CreateAIDataResourceEditContext | |
CreateAIDataResourceEditHookFn | <p>Shape of a hook function that is invoked to create the prompt and output schema for an AI edit to a data resource.</p><p>This hook is called when AI needs to edit the content of a data resource. It should return instructions for the AI and a JSON schema describing the expected output format.</p><p>NOTE: the instructions returned by this hook are part of a larger system editing prompt. Only describe how to edit the data resource content itself, not general editing instructions.</p> |
CreateAIDataResourceEditResult | |
CreateAIEditContext | |
CreateAIEditHookFn | <p>Shape of a hook function that is invoked to create the prompt and output schema for an AI edit to a custom property type.</p><p>NOTE: the prompt returned by this hook is part of a larger system editing prompt. Only describe how to edit the custom property type itself.</p> |
CreateAIEditResult | |
CustomEdgehancerDefinition | Declaration of custom edgehancer hooks on a merged data type |
DataResource | A data resource of JSON data retrieved from a data type/data source |
DataResourceFetchContext | <p>The context we are fetching the data resource in:</p><p>- testing: when a data type is being tested in the UI using an ephemeral data resource - editing: the data resource is being fetched as part of editing a draft of a composition or entry - normal: the data resource is being fetched as part of rendering a composition or entry</p><p>NOTE: using the getDataResource() function from integration UI will have the same fetch context as the parent composition/entry data, i.e. 'editing' NOTE: this is subject to additive change</p> |
EdgehancerDataIssue | |
EdgehancerMergedDataType | |
MergedDataType | The result of merging a data source with a data type into a single request object |
PreRequestEdgehancerContext | |
PreRequestEdgehancerDataResourceContext | |
PreRequestEdgehancerDataResourceResult | |
PreRequestEdgehancerResult | |
PreRequestHookFn | |
RequestEdgehancerContext | |
RequestEdgehancerDataResourceContext | |
RequestEdgehancerDataResourceResolutionResult | |
RequestEdgehancerResult | |
RequestHookFn | |
ResolveBatchIdsResult | |