mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Create googledrive.md (#2621)
* Create googledrive.md Signed-off-by: akgom <132290469+akgom@users.noreply.github.com> * updates Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com> --------- Signed-off-by: akgom <132290469+akgom@users.noreply.github.com> Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com> Co-authored-by: Andriy Mulyar <andriy.mulyar@gmail.com>
This commit is contained in:
parent
fd005be844
commit
7f2ceff5c8
@ -0,0 +1,105 @@
|
|||||||
|
# Using GPT4All to Privately Chat with your Google Drive Data
|
||||||
|
Local and Private AI Chat with your Google Drive Data
|
||||||
|
|
||||||
|
Google Drive for Desktop allows you to sync and access your Google Drive files directly on your computer. By connecting your synced directory to LocalDocs, you can start using GPT4All to privately chat with data stored in your Google Drive.
|
||||||
|
|
||||||
|
## Download Google Drive for Desktop
|
||||||
|
|
||||||
|
!!! note "Download Google Drive for Desktop"
|
||||||
|
|
||||||
|
1. **Download Google Drive for Desktop**:
|
||||||
|
- Visit [drive.google.com](https://drive.google.com) and sign in with your Google account.
|
||||||
|
- Navigate to the **Settings** (gear icon) and select **Settings** from the dropdown menu.
|
||||||
|
- Scroll down to **Google Drive for desktop** and click **Download**.
|
||||||
|
|
||||||
|
2. **Install Google Drive for Desktop**
|
||||||
|
- Run the installer file you downloaded.
|
||||||
|
- Follow the prompts to complete the installation process.
|
||||||
|
|
||||||
|
3. **Sign in and Sync**
|
||||||
|
- Once installed, sign in to Google Drive for Desktop with your Google account credentials.
|
||||||
|
- Choose the folders you want to sync to your computer.
|
||||||
|
|
||||||
|
For advanced help, see [Setting up Google Drive for Desktop](https://support.google.com/drive/answer/10838124?hl=en)
|
||||||
|
## Connect Google Drive to LocalDocs
|
||||||
|
|
||||||
|
!!! note "Connect Google Drive to LocalDocs"
|
||||||
|
|
||||||
|
1. **Install GPT4All and Open LocalDocs**:
|
||||||
|
- Go to [nomic.ai/gpt4all](https://nomic.ai/gpt4all) to install GPT4All for your operating system.
|
||||||
|
- Navigate to the LocalDocs feature within GPT4All to configure it to use your synced directory.
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<!-- Screenshot of LocalDocs interface -->
|
||||||
|
<img width="1348" alt="Screenshot 2024-07-09 at 3 15 35 PM" src="https://github.com/nomic-ai/gpt4all/assets/132290469/d8fb2d79-2063-45d4-bcce-7299fb75b144">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
2. **Add Collection**:
|
||||||
|
- Click on **+ Add Collection** to begin linking your Google Drive folders.
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<!-- Screenshot of adding collection in LocalDocs -->
|
||||||
|
<img width="1348" alt="Screenshot 2024-07-09 at 3 17 24 PM" src="https://github.com/nomic-ai/gpt4all/assets/132290469/39063615-9eb6-4c47-bde7-c9f04f9b168b">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
- Name your collection
|
||||||
|
|
||||||
|
|
||||||
|
3. **Create Collection**:
|
||||||
|
- Click **Create Collection** to initiate the embedding process. Progress will be displayed within the LocalDocs interface.
|
||||||
|
|
||||||
|
4. **Access Files in Chats**:
|
||||||
|
- Load a model to chat with your files (Llama 3 Instruct performs best)
|
||||||
|
- In your chat, open 'LocalDocs' with the button in the top-right corner to provide context from your synced Google Drive files.
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<!-- Screenshot of accessing LocalDocs in chats -->
|
||||||
|
<img width="1447" alt="Screenshot 2024-07-09 at 3 20 53 PM" src="https://github.com/nomic-ai/gpt4all/assets/132290469/ce68811f-9abd-451b-ac0a-fb941e185d7a">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
5. **Interact With Your Drive:**
|
||||||
|
- Use the model to interact with your files
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<!-- Screenshot of interacting sources -->
|
||||||
|
<img width="662" alt="Screenshot 2024-07-09 at 3 36 51 PM" src="https://github.com/nomic-ai/gpt4all/assets/132290469/bc55bc36-e613-419d-a568-adb1cd993854">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<!-- Screenshot of viewing sources -->
|
||||||
|
<img width="662" alt="Screenshot 2024-07-09 at 3 38 31 PM" src="https://github.com/nomic-ai/gpt4all/assets/132290469/0c565047-443b-4cd5-9d1c-f39da00f5b4b">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
7. **View Referenced Files**:
|
||||||
|
- Click on **Sources** below LLM responses to see which Google Drive files were referenced.
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<!-- Screenshot of viewing sources -->
|
||||||
|
<img width="643" alt="Screenshot 2024-07-09 at 3 39 43 PM" src="https://github.com/nomic-ai/gpt4all/assets/132290469/4bd4dc95-be41-4c01-b0ab-4a2cc44f847e">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
## How It Works
|
||||||
|
|
||||||
|
Google Drive for Desktop syncs your Google Drive files to your computer, while LocalDocs maintains a database of these synced for use by your local LLM. As your Google Drive updates, LocalDocs will automatically detect file changes and get up to date. LocalDocs is powered by [Nomic Embedding](https://docs.nomic.ai/atlas/capabilities/embeddings) models which find semantically similar snippets from your files to enhance the context of your interactions.
|
@ -14,6 +14,8 @@ nav:
|
|||||||
- 'Models' : 'gpt4all_desktop/models.md'
|
- 'Models' : 'gpt4all_desktop/models.md'
|
||||||
- 'LocalDocs' : 'gpt4all_desktop/localdocs.md'
|
- 'LocalDocs' : 'gpt4all_desktop/localdocs.md'
|
||||||
- 'Settings' : 'gpt4all_desktop/settings.md'
|
- 'Settings' : 'gpt4all_desktop/settings.md'
|
||||||
|
- 'Cookbook':
|
||||||
|
- 'Local AI Chat with your Google Drive': 'gpt4all_desktop/cookbook/use-local-ai-models-to-privately-chat-with-google-drive.md'
|
||||||
- 'Python SDK':
|
- 'Python SDK':
|
||||||
- 'gpt4all_python/home.md'
|
- 'gpt4all_python/home.md'
|
||||||
- 'Monitoring': 'gpt4all_python/monitoring.md'
|
- 'Monitoring': 'gpt4all_python/monitoring.md'
|
||||||
|
Loading…
Reference in New Issue
Block a user