roleplay
Infer Proactive Topics
Changed onProvide interest detection and personalized topics
post/api/v1/users/roleplay/proactive/{user_id}
Request
- Base URLhttps://api.memobase.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
topkinteger
Number of profiles to retrieve, default is all
max_token_sizeinteger
Max token size of returned profile content, default is all
prefer_topicsstring[]
Rank prefer topics at first to try to keep them in filtering, default order is by updated time
only_topicsstring[]
Only return profiles with these topics, default is all
max_subtopic_sizeinteger
Max subtopic size of the same topic in returned profile, default is all
topic_limits_jsonstring
Set specific subtopic limits for topics in JSON, for example {"topic1": 3, "topic2": 5}. The limits in this param will override max_subtopic_size.
Request body
Response
Successful Response
Changes
- info
for the
pathrequest parameteruser_id, the type was generalized fromstringto no type
- info
- info
endpoint added
- info