Assistance with Nextcloud Assistant Setup and OpenAI API Integration

Assistance with Nextcloud Assistant Setup and OpenAI API Integration

Greetings,

I am currently running Nextcloud AIO version 29.0.6 on a device with 8 cores CPU and 16 GB of RAM. I am encountering two issues that I need assistance with:

  1. Nextcloud Assistant Not Functioning:
    I have followed the default settings in the Artificial Intelligence section, and for tasks such as Context Chat and Free Prompt, I have set Nextcloud Assistant Context Chat as the AI provider. However, I continue to receive the following error message:

    “AI text generation task for ‘Nextcloud Assistant’ has failed.”

    Additionally, I am seeing this error:

    “RuntimeException Error during request to ExApp (context_chat_backend): ExApp context_chat_backend not found.”

    I would appreciate guidance on how to resolve this issue and ensure that Nextcloud Assistant is functioning properly.

  2. Verifying OpenAI API Integration:
    I am using a paid subscription to ChatGPT and have integrated it using the API key provided by OpenAI. I would like to confirm that the integration is correctly configured and that there are no issues preventing proper communication with the OpenAI API.

I would greatly appreciate a step-by-step guide for resolving these issues, including:

  • How to fix Nextcloud Assistant.
  • How to verify and correct the integration between Nextcloud Assistant and the OpenAI API.
  • The necessary API settings or permissions to ensure smooth operation.
  • Any additional configurations that might be required for optimal performance.

Thank you in advance for your assistance. I look forward to your guidance.

Best regards,
Tony

1 Like

I have the same that LocalAI always fails.
I tried to find out if the language model is installed, but cannot find anything about it.

Is there some tutorial how to solve this problem?