Skip to content

Add autouse memory#1027

Merged
jlowin merged 3 commits intomarvin-3from
auto-use-memory
Jan 21, 2025
Merged

Add autouse memory#1027
jlowin merged 3 commits intomarvin-3from
auto-use-memory

Conversation

@jlowin
Copy link
Member

@jlowin jlowin commented Jan 21, 2025

Add autouse memory to avoid tool calls if possible.

import marvin

marvin.run('remember the user name is XYZ', memories=[marvin.Memory('user')])

# this is a new thread, with no history
result = marvin.run('What was the user name?', memories=[marvin.Memory('user', auto_use=True)])

# prints XYZ, no tool calls were made
print(result)

@jlowin jlowin merged commit 361cd4d into marvin-3 Jan 21, 2025
3 of 4 checks passed
@jlowin jlowin deleted the auto-use-memory branch January 21, 2025 16:00
@github-actions github-actions bot added enhancement New feature or request feature Pull requests that add features labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature Pull requests that add features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant