Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow loading in a directory non-recursively #246

Merged
merged 3 commits into from
Nov 2, 2023
Merged

Conversation

vivi
Copy link
Contributor

@vivi vivi commented Nov 2, 2023

No description provided.

@sarahwooders
Copy link
Collaborator

Does it actually work if recursive=False for a directory?

@vivi
Copy link
Contributor Author

vivi commented Nov 2, 2023

Yes --

❯ memgpt load directory --name=test --input-dir=test/
Loading data...
Indexing documents...
Warning: get_index(docs) only supported for OpenAI
Open AI embedding cost will be approximately $0.0013577 - continue? [Y/n]: y
/Users/vivian/.memgpt/archival/test

Copy link
Collaborator

@sarahwooders sarahwooders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@sarahwooders sarahwooders merged commit 74d4a29 into main Nov 2, 2023
2 checks passed
@cpacker cpacker deleted the cli-fixes branch November 3, 2023 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants