(no title)
denismi | 3 months ago
Set up your preferred self-hosted web interface (OpenWebUI or whatever, I haven't looked into this for a while), point it at ollama, and then configure it in Firefox:
browser.ml.chat.provider = http://localhost:3000/
At home I point this at Kagi Assistant, at work I point it to our internal GenAI platform's chat endpoint.
denkmoon|3 months ago
jeroenhd|3 months ago
All the AI toolbar really does is open http://ai.url.com/some-query?prompt=${formattedPrompt} and display it next to the web page you have open.
The formatted prompt is something like "The user is on the page 'Stories about Cats'. The user wants you to summarize the following text: <text you have selected goes here>". You can configure your own prompt in about:config if you want, there are a bunch of examples here: https://github.com/mozilla-l10n/firefox-l10n/blob/main/en-GB...
There are prompts optimised for specific AI providers but the generic ones should work with any provider your choose.
When the web page opens at that URL, you're either going to get redirected to login and then redirected back, or the AI frontend will start executing the prompt.
KetoManx64|3 months ago