ArchAstro.SDK.Types.Operations.PostApiV1AiEmbeddingSimilarityComparison.Response (archastro v0.3.2)

Copy Markdown

Successful response

Summary

Types

t()

@type t() ::
  %ArchAstro.SDK.Types.Operations.PostApiV1AiEmbeddingSimilarityComparison.Response{
    model: String.t(),
    similarity_score: number()
  }

Functions

from_map(data)

@spec from_map(ArchAstro.SDK.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.SDK.JSON.object()