Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian-Winter committed Jun 29, 2024
1 parent 1a54539 commit ec5ab83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/07_Memory/MemoryAssistant/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
"The following section shows the count of memories in archival memory and chat history memory and the current content of your core memory:")
date_time_section = SystemPromptModule("current_date_time", "The following section shows the current date and time:")

memory_intro_section = SystemPromptModule("memory_intro",
"To support you in your task as a game master and to help you remembering things, you have access to 3 different types of memory.",

memory_intro_section = SystemPromptModule(section_name="memory_intro",
prefix="To support you in your task as a AI assistant and to help you remembering things, you have access to 3 different types of memory.",
position=SystemPromptModulePosition.after_system_instructions)
memory_intro_section.set_content(memory_prompt)
output_settings.output_structured_output_and_raw_json_string = True
Expand Down

0 comments on commit ec5ab83

Please # to comment.