ONLYOFFICE / ONLYOFFICE/onlyoffice.github.io

Feature Request: Allow users to specify custom prompts for Ollama integration within OnlyOffice

Open
#424 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AI feature request
Dominant language
JavaScript
Stars
250
Forks
490
Avg merge
2d 6h
Merged PRs (30d)
15

Description

As part of the integration between OnlyOffice and Ollama, it would be highly beneficial to allow users to specify
custom prompts. Currently, the integration likely uses default prompts or a predefined set. This feature request
proposes a mechanism for users to:

  • Define custom prompts: Provide a text field or configuration option within OnlyOffice to enter a specific
    prompt for Ollama to use when processing documents.
  • Control Ollama's behavior: This would allow users to tailor the output of Ollama to their specific needs,
    such as:
    • Adjusting the tone and style of generated text.
    • Specifying the desired level of detail.
    • Providing context for the task.
    • Using specific instructions for summarization, translation, or
      other tasks.
  • Configuration options: Consider options for storing and
    managing multiple custom prompts.
  • User Interface: Suggest a clear and intuitive UI element
    (e.g., a settings panel, a dedicated configuration section) for
    managing these prompts.

Benefits:

  • Increased flexibility: Empowers users to fully leverage the
    power of Ollama for document processing.
  • Improved accuracy and relevance: Custom prompts can
    significantly improve the quality and relevance of Ollama's output.
  • Enhanced user experience: Provides users with more control
    over the integration and allows them to tailor it to their specific
    workflows.

Possible Implementation Considerations:

  • How to securely store and manage user-defined prompts.
  • How to pass the custom prompt to the Ollama API.
  • Consider providing examples of effective prompts for different use
    cases.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation files, entry points, or tests are named. Start by locating the OnlyOffice Ollama integration and its current prompt and API handling; done would require an agreed UI and configuration design, secure prompt storage, Ollama API wiring, and coverage for custom prompts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, ollama
Domain
ai, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.