AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class EmbedRequest

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

    Inheritance
    object
    RequestBody
    OllamaRequest
    EmbedRequest
    Inherited Members
    OllamaRequest.Model
    OllamaRequest.Options
    OllamaRequest.KeepAlive
    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?
    In this article
    Back to top Generated by DocFX