nextcloud / nextcloud/integration_openai

Translation provider prompt should be engineered a bit more to avoid outputting explanations

Open
#336 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
75
Forks
32
Avg merge
9d 8h
Merged PRs (30d)
4

Description

Which version of integration_openai are you using?

c.nc.c

Which version of Nextcloud are you using?

stable33

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Describe the Bug
Image
Expected Behavior

Should only output the translation.

To Reproduce

.

Contributor guide

Open the contributing guide

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

Start by locating the translation provider prompt in the integration_openai codebase and reproduce the reported behavior using the issue's example. Determine why explanatory text is returned instead of only the translation. Done means the provider returns translation text without explanations, with a regression check if the repository has coverage for this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.