mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
Update apps/docs/quickstart.mdx
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
This commit is contained in:
parent
d826faaaeb
commit
d3727abac0
1 changed files with 2 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ conversation = [
|
|||
]
|
||||
|
||||
# Get user profile + relevant memories for context
|
||||
profile = client.profile(container_tag=USER_ID, q=conversation[-1]["content"])
|
||||
profile = client.profile(container_tag=USER_ID, threshold=0.7, q=conversation[-1]["content"])
|
||||
|
||||
context = f"""Static profile:
|
||||
{"\n".join(profile.profile.static)}
|
||||
|
|
@ -86,6 +86,7 @@ const conversation = [
|
|||
// Get user profile + relevant memories for context
|
||||
const profile = await client.profile({
|
||||
containerTag: USER_ID,
|
||||
threshold: 0.7,
|
||||
q: conversation.at(-1)!.content,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue