Understanding Reducto’s Edit endpoint for document modification
EditConfig
class with the following parameters:
document_url
: The document to edit (public URL, presigned S3 URL, or reducto:// URL)edit_instructions
: Natural language instructions describing the desired editsedit_options
: Configuration options including highlight color and LLM provider preferencepriority
: Whether to use priority processing (default: true for sync, false for async)color
: Hex color code for highlighting edits (default: “#FF0000”)llm_provider_preference
: Choose between “openai” or “anthropic” (internal use)Can I edit the same document multiple times?
How do I get access to the edit endpoint?
What's the difference between sync and async editing?