Skip to main content

Create

POST 

/kg/embeddings

Create the embedding for the IRIs for the provided query.

Request

Body

required

    embedding

    object

    required

    A request to generate the embeddings.

    model string

    Default value: nomic-ai/nomic-embed-text-v1

    The model used to generate the embeddings.

    properties string[]

    The list of properties to use to generate the embeddings.

    graphql_query stringrequired

    The GraphQL query used to select entities to create embedding vectors for.

Responses

Success

Schema

  • Array [

  • id stringrequired

    The id/iri of the web page in the Graph.

    model stringrequired
  • ]