AIDocProcessingService Class | Office File API | DevExpress Documentation Skip to main content
All docs
V26.1
  • AIDocProcessingService Class

    SECURITY-RELATED CONSIDERATIONS

    This API includes automatic prompt-injection protection for text and document-based AI-powered extensions. The system appends security instructions to each AI request to ensure that external or user-provided content is treated as untrusted data.

    Prompt Injection Protection in AI Extensions

    Default IAIDocProcessingService implementation. Allows you to execute AI-powered extensions in Office & PDF File API applications.

    Namespace: DevExpress.AIIntegration.Docs

    Assembly: DevExpress.AIIntegration.Docs.v26.1.dll

    Declaration

    public class AIDocProcessingService :
        IAIDocProcessingService

    Remarks

    Refer to the following topic for more information on the registration of AI-powered extensions: AI-powered Extensions for DevExpress Office & PDF File API

    AI-powered Extensions

    The table below lists AI-powered extensions available in DevExpress Office & PDF File API:

    Extension Supported Products Description Registration Method
    Proofread Word Processing Document API
    Presentation API Library
    Reviews text (grammar, spelling, style) in real time.
    Available for an entire document/presentation or selected parts (slides, ranges, areas).
    ProofreadAsync
    Translate Word Processing Document API
    PDF Document API
    Presentation API Library
    Translates full document/presentation content or selected parts (slides, ranges, areas). Preserves formatting. TranslateAsync
    Summarize Word Processing Document API
    PDF Document API
    Presentation API Library
    Produces a concise summary for an entire document/presentation or selected parts (slides, ranges, areas). SummarizeAsync
    Contextual Q&A (Ask AI) Word Processing Document API
    PDF Document API
    Presentation API Library
    Answers contextual questions about document content.
    Uses retrieval‑augmented generation (RAG).
    AskAIAsync

    Limitations

    AI-powered extensions for DevExpress Office & PDF File API ship with the following limitations:

    • The Ask AI extension may produce inaccurate answers for questions that require exact counts of elements (pages, tables, images, etc.).
    • Extensions for PDF Document API work only with text content. Field values, annotations, comments, and bookmarks are ignored.

    Inheritance

    Object
    AIDocProcessingService
    See Also
    Use of this site constitutes acceptance of our Website Terms of Use and Privacy Policy (Updated). Cookies Settings