Skip to main content

Create‚Äč

Create

Request Body required
    filters object[]

    A list of prefilters.

  • Array [
  • key string required

    The filter key.

    operator string required

    Possible values: [EQ, GT, LT, NE, GTE, LTE, IN, NIN]

    A query request filter operator.

    value string required

    The filter value.

  • ]
  • query_embedding double[]

    The list of embeddings, not required if query_string is provided.

    query_string string

    The query string, not required if the query_embeddings are provided. Please note that the query_string is ignored if the query_embeddings are provided.

    similarity_top_k int32

    Possible values: >= 1

    Default value: 2

    The similarity top K.

Responses

Found.


Schema
    first string nullable required

    The link to the first page.

    items object[] required

    An array of objects.

  • Array [
  • embeddings double[]

    The embeddings for the text.

    id string
    metadata object

    A nodes extra metadata.

    property name* object

    A nodes extra metadata.

    node_id string required

    A nodes id.

    score double required

    The similarity score between the node and the query embeddings.

    text string required

    The text of a node from which the embeddings were generated.

  • ]
  • last string nullable required

    The link to the last page.

    next string nullable required

    The link to the next page or null if there's no page.

    prev string nullable required

    The link to the previous page or null if there's no page.

    self string nullable required

    The link to the current page.

Loading...