nextcloud / integration_openai

OpenAI integration in Nextcloud
GNU Affero General Public License v3.0
48 stars 9 forks source link

Add admin setting for choosing endpoint when using LocalAI #61

Closed MB-Finski closed 6 months ago

MB-Finski commented 6 months ago

Exposes choosing the endpoint for the LocalAI as an admin setting. This should improve text generations quite a bit since the chat endpoint will inject the proper model specific prompt template at the LocalAI end.

Also, fixes the params for calling the plain "completions" endpoint: https://github.com/nextcloud/integration_openai/issues/60

MB-Finski commented 6 months ago

Addition to admin settings page: image

github-actions[bot] commented 6 months ago

Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!