UriContent 클래스

정의

일반적으로 이미지, 오디오 또는 비디오와 같은 호스트된 콘텐츠에 대한 URL을 나타냅니다.

public ref class UriContent : Microsoft::Extensions::AI::AIContent
public class UriContent : Microsoft.Extensions.AI.AIContent
type UriContent = class
    inherit AIContent
Public Class UriContent
Inherits AIContent
상속
UriContent

설명

이 클래스는 호스트된 콘텐츠를 참조하는 HTTP 또는 HTTPS URI와 함께 사용하기 위한 것입니다. 데이터 URI의 경우 대신 사용합니다 DataContent .

생성자

Name Description
UriContent(String, String)

UriContent 클래스의 새 인스턴스를 초기화합니다.

UriContent(Uri, String)

UriContent 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
AdditionalProperties

콘텐츠에 대한 추가 속성을 가져오거나 설정합니다.

(다음에서 상속됨 AIContent)
Annotations

이 콘텐츠에 대한 주석 목록을 가져오거나 설정합니다.

(다음에서 상속됨 AIContent)
MediaType

이 콘텐츠의 미디어 형식(MIME 형식이라고도 함)을 가져오거나 설정합니다.

RawRepresentation

기본 구현에서 콘텐츠의 원시 표현을 가져오거나 설정합니다.

(다음에서 상속됨 AIContent)
Uri

이 콘텐츠에 대한 값을 Uri 가져오거나 설정합니다.

메서드

Name Description
HasTopLevelMediaType(String)

최상위 형식이 MediaType지정된 topLevelType형식과 일치하는지 여부를 확인합니다.

적용 대상