-
Notifications
You must be signed in to change notification settings - Fork 879
Support batch processing over the REST API. #1806
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
base: main
Are you sure you want to change the base?
Conversation
|
@microsoft-github-policy-service agree company="SolidCore.ai" |
|
Great addition @telackey! |
Can do |
|
@SharonHart, I think I updated the relevant docs. If I missed anything, just point me in the right direction and I'll update as needed. |
spot on, looks good 🎯 |
* Refactor LangExtract recognizers to support customizable extraction parameters and improve configuration clarity for Azure OpenAI and Ollama. * Add tests for parameter configuration and overrides in Ollama and Azure OpenAI recognizers * Refactor Azure OpenAI and Ollama LangExtract recognizers to improve parameter handling and documentation clarity * Update max_char_buffer parameter in OllamaLangExtractRecognizer to improve performance * Update max_char_buffer parameter in Ollama configuration to enhance performance * Update presidio-analyzer/presidio_analyzer/predefined_recognizers/third_party/langextract_recognizer.py Co-authored-by: Dor Lugasi-Gal <dorlugasigal@gmail.com> * lx to top level --------- Co-authored-by: Omri Mendels <omri374@users.noreply.github.com> Co-authored-by: Dor Lugasi-Gal <dorlugasigal@gmail.com>
|
Thanks! |
The merge-base changed after approval.
|
@telackey |
Change Description
The REST API only supports analyzing one text at a time. This adds support for batch processing.
The implementation is backwards compatible: if
textis astring, it returns identical results as before. This simply adds support fortextto be supplied as astring[]instead, in which case it returns an array of results.Issue reference
Fixes #XX
Checklist