GenAI.Types (GenAI Core v0.2.0)

VNextGenAI Types

Link to this section Summary

Types

Element Description.

Error details

Error Response

Element Finger Print.

Element Handle

Element Name.

Success Response

Call outcome tuple.

Link to this section Types

Link to this type

description()

@type description() :: term()

Element Description.

@type details() :: tuple() | atom() | bitstring()

Error details

@type error(e) :: {:error, e}

Error Response

Link to this type

finger_print()

@type finger_print() :: term()

Element Finger Print.

@type handle() :: term()

Element Handle

@type name() :: term()

Element Name.

@type ok(r) :: {:ok, r}

Success Response

Link to this type

result(r, e)

@type result(r, e) :: ok(r) | error(e)

Call outcome tuple.