Table of Contents

Class EmbedRequest

/embed 텍스트(또는 이미지)를 벡터로 변환하는 API 모델 이름, 입력, 옵션 등을 지정하여 임베딩 수행

public class EmbedRequest : OllamaRequest
Inheritance
object
EmbedRequest
Inherited Members

Properties

Input

Required. The input to embed. Can be a string or list of strings.

public StringOr<string> Input { get; set; }

Property Value

StringOr<string>

Truncate

Optional. Whether to truncate input tokens that exceed the context length.

public bool? Truncate { get; set; }

Property Value

bool?