From bbbc1523f1a37b7f7c2f25dc0a08c254ab04fbad Mon Sep 17 00:00:00 2001 From: Abubakar115e <113997856+Abubakar115e@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:32:46 +0100 Subject: [PATCH 1/2] Small spell fixes --- src/assets/locale/no/settings.json | 117 ++++++++++++++++++++++++----- 1 file changed, 98 insertions(+), 19 deletions(-) diff --git a/src/assets/locale/no/settings.json b/src/assets/locale/no/settings.json index a09437f..f31a65d 100644 --- a/src/assets/locale/no/settings.json +++ b/src/assets/locale/no/settings.json @@ -238,25 +238,104 @@ }, "ollamaSettings": { "title": "Ollama Innstillinger", - "heading": "Konfigurer Ollama Plugin", - "enabled": { - "label": "Aktiver Ollama Plugin" - }, - "provider": { - "label": "Ollama Tilbyder", - "placeholder": "Velg en Ollama tilbyder" - }, - "apiKey": { - "label": "Ollama API Nøkkel", - "placeholder": "Skriv inn Ollama API Nøkkel", - "required": "API Nøkkel er påkrevd" - }, - "saveBtn": { - "save": "Lagre" - }, - "notification": { - "saveSuccess": "Ollama Plugin lagret vellykket", - "someError": "Noe gikk galt. Vennligst prøv igjen senere" + "heading": "Konfigurer Ollama", + "settings": { + "ollamaUrl": { + "label": "Ollama URL", + "placeholder": "Skriv inn Ollama URL" + }, + "advanced": { + "label": "Avansert Ollama URL-konfigurasjon", + "urlRewriteEnabled": { + "label": "Aktiver eller deaktiver tilpasset opprinnelses-URL" + }, + "rewriteUrl": { + "label": "Tilpasset opprinnelses-URL", + "placeholder": "Skriv inn tilpasset opprinnelses-URL" + }, + "headers": { + "label": "Tilpass Headers", + "LeggTil": "Legg til Header", + "key": { + "label": "Header Nøkkel", + "placeholder": "Autorisasjon" + }, + "value": { + "label": "Header Verdi", + "placeholder": "Bearer token" + } + }, + "help": "Hvis du har forbindelsesproblemer med Ollama på Page Assist, kan du konfigurere en brukerdefinert opprinnelses-URL. For mer informasjon om konfigurasjonen, klikk her." + } } + }, + "manageSearch": { + "title": "Administrer Web Søk", + "heading": "Konfigurer Web Søk" + }, + "about": { + "title": "Om", + "heading": "Om", + "chromeVersion": "Page Assist Versjon", + "ollamaVersion": "Ollama Versjon", + "support": "Du kan støtte Page Assist-prosjektet ved å donere eller sponse via følgende plattformer:", + "koFi": "Støtt på Ko-fi", + "githubSponsor": "Spons på GitHub", + "githubRepo": "GitHub Repository" + }, + "manageKnowledge": { + "title": "Administrer Kunnskap", + "heading": "Konfigurer Kunnskapsbase" + }, + "rag": { + "title": "RAG Innstillinger", + "ragSettings": { + "label": "RAG Innstillinger", + "model": { + "label": "Embedding Modell", + "required": "Vennligst velg en modell", + "help": "Det anbefales sterkt å bruke embeddingsmodeller som `nomic-embed-text`.", + "placeholder": "Velg en modell" + }, + "chunkSize": { + "label": "Delstørrelse", + "placeholder": "Skriv inn delstørrelse", + "required": "Vennligst skriv inn en delstørrelse" + }, + "chunkOverlap": { + "label": "Deloverlapp", + "placeholder": "Skriv inn deloverlapp", + "required": "Vennligst skriv inn deloverlapp" + }, + "totalFilePerKB": { + "label": "Kunnskapsbase standard filopplastingsgrense", + "placeholder": "Skriv inn standard filopplastingsgrense (f.eks. 10)", + "required": "Vennligst skriv inn standard filopplastingsgrense" + }, + "noOfRetrievedDocs": { + "label": "Antall hentede dokumenter", + "placeholder": "Skriv inn antall hentede dokumenter", + "required": "Vennligst skriv inn antall hentede dokumenter" + } + }, + "prompt": { + "label": "Konfigurer RAG Prompt", + "option1": "Normal", + "option2": "Web", + "alert": "Konfigurering av systemprompt her er foreldet. Vennligst bruk Administrer Prompts-seksjonen for å legge til eller endre prompts. Denne seksjonen vil bli fjernet i fremtidige versjoner.", + "systemPrompt": "Systemprompt", + "systemPromptPlaceholder": "Skriv inn systemprompt", + "webSearchPrompt": "Websøke-prompt", + "webSearchPromptHelp": "Ikke fjern `{search_results}` fra prompten.", + "webSearchPromptError": "Vennligst skriv inn en websøke-prompt", + "webSearchPromptPlaceholder": "Skriv inn websøke-prompt", + "webSearchFollowUpPrompt": "Oppfølgingsprompt for websøking", + "webSearchFollowUpPromptHelp": "Ikke fjern `{chat_history}` og `{question}` fra prompten.", + "webSearchFollowUpPromptError": "Vennligst skriv inn din oppfølgingsprompt for websøking!", + "webSearchFollowUpPromptPlaceholder": "Din oppfølgingsprompt for websøking" + } + }, + "chromeAiSettings": { + "title": "Chrome AI Innstillinger" } } From 2452259189cf2eb02b3cc42c346ed0771de9ebcd Mon Sep 17 00:00:00 2001 From: n4ze3m Date: Mon, 25 Nov 2024 10:08:46 +0530 Subject: [PATCH 2/2] docs(connection-issue): add steps to resolve Ollama connection issues - Add new steps to resolve Ollama connection issues when directly accessed from the browser extension - Instruct users to set `OLLAMA_HOST=0.0.0.0` environment variable and restart Ollama - Provide additional troubleshooting guidance for users still facing issues --- PRIVACY.md | 36 ++++++++++++++++++++++++++++++++++++ README.md | 4 +++- docs/connection-issue.md | 7 +++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 PRIVACY.md diff --git a/PRIVACY.md b/PRIVACY.md new file mode 100644 index 0000000..708001b --- /dev/null +++ b/PRIVACY.md @@ -0,0 +1,36 @@ +# Privacy Policy + +## Data Collection +Page Assist is committed to user privacy and does not collect any user data. All operations and data storage occur locally within your browser. + +## Browser Permissions +The extension requires the following permissions to function: + +- **Notifications**: To provide system notifications +- **Website Content Access**: Required for the chat-with-webpage functionality +- **Unlimited Storage**: Used to store chat history locally in your browser +- **Active Tab**: To ensure the extension is active on the current tab and get screenshots etc +- **Scripting**: For the chat-with-webpage functionality +- **Web Requests**: To modify headers of the local server to avoid CORS issues + +## Page Share Feature +When using the Page Share feature: + +- Data sharing only occurs when explicitly connecting to external sources +- Self-hosting option is available for complete data control +- Shared chats can be permanently deleted from the server at any time +- No data is retained after deletion + +## Data Storage +- All chat history and settings are stored locally in your browser +- No data is transmitted to external servers unless explicitly initiated by the user +- Users maintain full control over their data + +## Third-Party Services +Page Assist does not integrate with any third-party analytics or tracking services. + +## Changes to Privacy Policy +We reserve the right to update this privacy policy as needed. Users will be notified of any significant changes. + +## Contact +For privacy-related questions or concerns, please open an issue on our GitHub repository or mail me at me@n4ze3m.com \ No newline at end of file diff --git a/README.md b/README.md index d659a0b..add1101 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Page Assist is an open-source Chrome Extension that provides a Sidebar and Web U ## Installation -Page Assist supports Chromium-based browsers like Chrome, Brave, Edge, and Firefox. +Page Assist supports Chromium-based browsers like Chrome, Brave, and Edge, as well as Firefox. [![Chrome Web Store](https://pub-35424b4473484be483c0afa08c69e7da.r2.dev/UV4C4ybeBTsZt43U4xis.png)](https://chrome.google.com/webstore/detail/page-assist/jfgfiigpkhlkbnfnbobbkinehhfdhndo) [![Firefox Add-on](https://pub-35424b4473484be483c0afa08c69e7da.r2.dev/get-the-addon.png)](https://addons.mozilla.org/en-US/firefox/addon/page-assist/) @@ -138,6 +138,8 @@ Page Assist does not collect any personal data. The only time the extension comm All the data is stored locally in the browser storage. You can view the source code and verify it yourself. +You learn more about the privacy policy [here](PRIVACY.md). + ## Contributing Contributions are welcome. If you have any feature requests, bug reports, or questions, feel free to create an issue. diff --git a/docs/connection-issue.md b/docs/connection-issue.md index 7498dfd..73bd5a9 100644 --- a/docs/connection-issue.md +++ b/docs/connection-issue.md @@ -32,4 +32,11 @@ Since Ollama has connection issues when directly accessed from the browser exten This will resolve the connection issue, and you will be able to use Ollama without any issues on Page Assist ❤ +7. If you are still facing issues, you can try the following steps: + +- Add `OLLAMA_HOST=0.0.0.0` to the environment variables of Ollama. +- Restart Ollama. +- Try again. + + If you still face any issues, feel free to contact us [here](https://github.com/n4ze3m/page-assist/issues/new), and we will be happy to help you out. \ No newline at end of file