-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API to summarize text #38578
Comments
Word of caution: The new llm app will be rather slow at least for now (ie. ~10+ minutes for a summary), so it would behoove us to avoid allowing users to generate summaries on demand but restrict use cases to scenarios where we prepare the summary in advance. |
In today's discussion with @AndyScherzinger and @marcoambrosini we identified some open questions
|
If you'd like to try the model yourself (which I recommend to suss out what it's capable of and what not), you can install https://gpt4all.io on your computer. Currently I'm using the GPT4All-v1.3-groovy model. better models will become available in the coming weeks. |
|
but the features will only be available / visible to the user anyway if the LLM app is enabled, right? Wouldn't a warning in the readme of the LLM app then be enough? |
I also wouldn't do opt-in since that lowers the adoption rate and rather have opt-out. I think for the moment like Daphne said, it can be "managed" via having the app enabled or disabled. If the results are bad they will be across the user base and if they are good they will be good across the user base (very simplified, I know). So at some point the app will be activated/deactivated by admins. So yeah - I also think info in the readme should be enough. maybe app description in the info.xml since that is shown in the app store. |
How about default active if LLM app is enable but still give ability to opt out by just hiding the component in the front end? This could be very simply saved in the browser storage. |
Also worth noting: integration_openai and perhaps replicate might implement this API as well. Since they also have other uses opt out == disable app might not be the way to go. |
ok, then it is up to product management to decide. @jancborchardt @AndyScherzinger |
That would be @jancborchardt @karlitschek call. I still think we shouldn't provide a user-level opt-in/-out option. |
Since we have more and more "Assistant" features, it might be nice to have a dedicated section in the settings on that. There we can:
|
@jancborchardt can you make sure this is aligned where necessary with Frank so the devs can just implement it, and provide the necessary mock-ups / details / requirements for the devs? We can then see who can do the work. |
To fulfill the updated requirements from nextcloud/mail#8508 (comment) the new API has to provide rich text as a result, not just plain text. We could go with Markdown or HTML. @marcelklehr would that be doable with the available LLMs? |
As mentioned in the kick-off meeting, rich-text/HTML is kinda unreliable with the current model. I think as a first iteration we can only rely on plain text. |
How to use GitHub
Is your feature request related to a problem? Please describe.
As a Nextcloud developer I want to be able to summarize text for the users of the app. E.g. to get the gist of an email thread.
Describe the solution you'd like
Provide an OCP API and optionally an OCS API where an app can send long text and receive a short summary text. The API has to be optional because not every installation will have a backend for language processing.
Describe alternatives you've considered
N/a
Additional context
cc @DaphneMuller
The text was updated successfully, but these errors were encountered: