documentcloud
documentcloud copied to clipboard
DocumentCloud's back end source code - Please report bugs, issues and feature requests to [email protected]
Search parameters are not validated, which can lead to Solr errors - this isn't a huge deal, but validating will allow for nicer error messages and quiter logs
To org? To project? How do we make it both convenient for the common case and resilient to tampering (ie someone who quits the organization?)
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-cookies.html
Lets put some user friendly error messages on top some of the common PDFium load errors
use `pip-tools` like we do for top level requirements and centralize the requirements files where possible
Can we replace custom GCP backend with hugging face? https://huggingface.co/facebook/bart-large-mnli ``` import requests API_URL = "https://api-inference.huggingface.co/models/facebook/bart-large-mnli" headers = {"Authorization": f"Bearer {API_TOKEN}"} def query(payload): response = requests.post(API_URL, headers=headers, json=payload) return response.json()...
The command line tool is now usable. We should try to turn it onto an experimental add-on