Skip to main content
POST
/
v1
/
memories
/
profile
/
search
Semantic Search Profile Memory
curl --request POST \
  --url http://localhost:8080/v1/memories/profile/search \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "",
  "query": "",
  "k": 10,
  "min_cos": -1,
  "max_range": 2,
  "max_std": 1,
  "isolations": {}
}'
{
  "entries": [
    {}
  ]
}

Body

application/json

Request body for performing a semantic search on a user's profile.

user_id
string
default:""
required

The ID of the user.

query
string
default:""
required

The search query string.

k
integer
default:10

Maximum number of results to retrieve.

min_cos
number
default:-1

Minimum cosine similarity score.

max_range
number
default:2

Maximum range for the result filter.

max_std
number
default:1

Maximum standard deviation for the result filter.

isolations
object | null

Dictionary for data isolation filtering.

Response

200 - application/json

List of profile entries matching the query.

Response model containing a list of profile entries.

entries
object[]
required

The list of profile entries.

A single profile entry (details omitted for brevity).