phonic
Version:
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPhonic-Co%2Fphonic-node) [ • 1.06 kB
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
import * as Phonic from "../../../../index.js";
/**
* @example
* {
* project: "main",
* name: "Updated appointment details",
* prompt: "Updated extraction instructions. Dates should be in `9 Apr 2025` format.",
* fields: [{
* name: "Date",
* type: "string",
* description: "The date of the appointment"
* }, {
* name: "Time",
* type: "string",
* description: "The time of the appointment"
* }]
* }
*/
export interface UpdateExtractionSchemaRequest {
/** The name of the project containing the extraction schema. Only used when `nameOrId` is a name. */
project?: string;
/** A name for the extraction schema. */
name?: string;
/** Instructions for how to extract data from conversations. */
prompt?: string;
/** Array of field definitions. */
fields?: Phonic.ExtractionField[];
}