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

Accessing and Uploading Files in MyData Using upload_api and add_file_api #1845

Open
llmwesee opened this issue Sep 13, 2024 · 0 comments
Open

Comments

@llmwesee
Copy link

Problem Description:
I am uploading files to the MyData folder through the UI. The sources_dir already contains text files related to the LLM, UserData, and MyData which has information related to the files name. However, I am facing difficulty accessing the MyData folder and its files similarly to how I can access the user_path that contains documents uploaded to UserData through the UI.

Expected Behavior:
I would like to:
Access the MyData folder and retrieve the files stored in it, just like I can with the user_path for UserData.
Upload files to both MyData and UserData using the existing upload_api and add_file_api.

Current Behavior:
I am able to upload files to UserData via the UI, but I cannot access or interact with MyData in a similar manner.
Unclear on how to use the APIs to upload files directly to MyData and UserData.

Request:
Could you provide a solution or example code demonstrating how to:

Access and retrieve files from the MyData folder.
Upload files to both MyData and UserData using upload_api and add_file_api.

Sample Code Request:
I would appreciate a code example illustrating the following use cases:

Uploading files to MyData and UserData using upload_api and add_file_api.
Accessing and listing files in the MyData directory similarly to how it’s done with the user_path.

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

No branches or pull requests

1 participant