Class
ChatInput
Represents structured chat input content.
Inheritance
- Object
- ChatInput
Constructors
public ChatInput() #Methods
public ChatInput AddImagePath(String path) #Returns:
ChatInputAdds a local image path item to the input.
Parameters
- path System.String
- Local image path.
public ChatInput AddImageUrl(String url) #Returns:
ChatInputAdds an image URL item to the input.
Parameters
- url System.String
- Image URL.
public ChatInput AddRaw(JsonObject item) #Returns:
ChatInputAdds a raw JSON item to the input.
Parameters
- item IntelligenceX.Json.JsonObject
- JSON item.
public ChatInput AddText(String text) #Returns:
ChatInputAdds a text item to the input.
Parameters
- text System.String
- Text content.
public ChatInput AddToolOutput(String callId, String output) #Returns:
ChatInputAdds a tool output item to the input.
Parameters
- callId System.String
- Tool call id.
- output System.String
- Tool output text.
public static ChatInput FromText(String text) #Returns:
ChatInputCreates a chat input from a text prompt.
Parameters
- text System.String
public static ChatInput FromTextWithImagePath(String text, String path) #Returns:
ChatInputCreates a chat input from text and a local image path.
Parameters
- text System.String
- path System.String
public static ChatInput FromTextWithImageUrl(String text, String url) #Returns:
ChatInputCreates a chat input from text and an image URL.
Parameters
- text System.String
- url System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object