You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importtypiafrom"typia";interfaceSomething{/** * The value. * * The value of enumerations. */value: 1|2|3;/** * No problem on plain type. */plain: string;}typia.llm.parameters<Something,"chatgpt">();typia.llm.schema<Something,"gemini">();
If declare an enum type and convert it to ChatGPT or Gemini schema, its description be dropped.
Such bug does not occur for non-enumeration types.
({type: "object",properties: {value: {title: "The value",type: "number",enum: [1,2,3],},plain: {title: "No problem on plain type",description: "No problem on plain type.",type: "string",},},required: ["value","plain"],additionalProperties: false,$defs: {},});({type: "object",properties: {value: {type: "number",enum: [1,2,3],},plain: {type: "string",description: "No problem on plain type.",},},required: ["value","plain"],});
The text was updated successfully, but these errors were encountered:
If declare an enum type and convert it to ChatGPT or Gemini schema, its description be dropped.
Such bug does not occur for non-enumeration types.
The text was updated successfully, but these errors were encountered: