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

Request Field for Logging User-Specified Job-Level metadata #387

Open
adreichert opened this issue Sep 9, 2024 · 1 comment
Open

Request Field for Logging User-Specified Job-Level metadata #387

adreichert opened this issue Sep 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@adreichert
Copy link
Contributor

Summary

I'd like to request that both the REST API and the Python package offer a field that permits users to upload small, custom strings. This field would NOT be used for parsing by LlamaParse. The user could populate it with freeform strings, small JSON documents, or anything else they wanted. Later, they could read this from the job details endpoint. In the past, I've used such fields for the following:

  • Debugging
  • Tagging uploaded jobs
  • Storing identifiers useful for joining this job to other tables or data sources

Example

% curl -L -X POST 'https://api.cloud.llamaindex.ai/api/v1/parsing/upload' \      
[...]
-F 'user_metadata="DEBUG"'
[...]
 curl -L -X GET 'https://api.cloud.llamaindex.ai/api/v1/parsing/job/<ID>/details' \ 
[...]
user_metadata="DEBUG"
@adreichert adreichert added the enhancement New feature or request label Sep 9, 2024
@hexapode
Copy link
Contributor

hexapode commented Sep 9, 2024

Great Feedback. We will add it to a future release (most likely in the next 2-3 weeks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants