ArchAstro.Types.Operations.PostApiV1AiEmbeddingSimilarityComparison.Input (archastro v0.2.0)

Copy Markdown

Compare the embedding similarity of two texts

Summary

Types

t()

@type t() ::
  %ArchAstro.Types.Operations.PostApiV1AiEmbeddingSimilarityComparison.Input{
    text_a: String.t(),
    text_b: String.t()
  }

Functions

from_map(data)

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

matches?(value)

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

to_map(value)

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