Class EmbedRequest
/embed 텍스트(또는 이미지)를 벡터로 변환하는 API 모델 이름, 입력, 옵션 등을 지정하여 임베딩 수행
Namespace: Glitch9.AIDevKit.Ollama
Assembly: .dll
Syntax
public class EmbedRequest : OllamaRequest
Properties
Input
Required. The input to embed. Can be a string or list of strings.
Declaration
public StringOr<string> Input { get; set; }
Property Value
Type | Description |
---|---|
StringOr<string> |
Truncate
Optional. Whether to truncate input tokens that exceed the context length.
Declaration
public bool? Truncate { get; set; }
Property Value
Type | Description |
---|---|
bool? |