Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/memos/mem_os/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def user_register(

# Create a default cube for the user using MOSCore's methods
default_cube_name = f"{user_name}_{user_id}_default_cube"
mem_cube_name_or_path = f"{CUBE_PATH}/{default_cube_name}"
mem_cube_name_or_path = os.path.join(CUBE_PATH, default_cube_name)
default_cube_id = self.create_cube_for_user(
cube_name=default_cube_name, owner_id=user_id, cube_path=mem_cube_name_or_path
)
Expand Down
3 changes: 2 additions & 1 deletion src/memos/templates/mos_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,12 @@
FURTHER_SUGGESTION_PROMPT = """
You are a helpful assistant.
You are given a dialogue between a user and a assistant.
You need to suggest a further question based on the dialogue.
You need to suggest a further user query based on the dialogue.
Requirements:
1. The further question should be related to the dialogue.
2. The further question should be concise and accurate.
3. You must return ONLY a valid JSON object. Do not include any other text, explanations, or formatting.
4. The further question should be generated by the user viewpoint and think of yourself as the user
the lastest dialogue is:
{dialogue}
output should be a json format, the key is "query", the value is a list of suggestion query.
Expand Down
Loading