https://github.com/tracywong117/ask-llama
Chrome Extension - Right click to ask Llama about the selected words. Supported by Groq and powered by Marked.js.
https://github.com/tracywong117/ask-llama
ai ai-extension chrome-extension groq groq-api js llama llama3 llm
Last synced: 4 months ago
JSON representation
Chrome Extension - Right click to ask Llama about the selected words. Supported by Groq and powered by Marked.js.
- Host: GitHub
- URL: https://github.com/tracywong117/ask-llama
- Owner: tracywong117
- Created: 2024-06-26T09:58:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T07:11:19.000Z (almost 2 years ago)
- Last Synced: 2025-10-11T14:05:52.622Z (8 months ago)
- Topics: ai, ai-extension, chrome-extension, groq, groq-api, js, llama, llama3, llm
- Language: JavaScript
- Homepage:
- Size: 1.41 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ask Llama Chrome Extension

Right click to ask Llama about the selected words. Supported by Groq and powered by Marked.js.
## Features
- **One-click AI search**: Right-click selected text to ask Llama.
- **Enhance reading with tooltips**: Tooltips appear on the page and display answers from Llama.
- **Customizable shortcuts**: Enable additional searches using predefined or custom shortcuts.
We use the `llama3-70b-8192` model.
## Installation
1. Clone the repository:
```sh
git clone https://github.com/yourusername/ask-llama-extension.git
```
Or Download ZIP (unzip it).
2. Open Chrome and navigate to `chrome://extensions/`.
3. Enable "Developer mode" by toggling the switch in the top-right corner.
4. Click "Load unpacked" and select the directory (ask-llama-extension).
## Usage
1. Select any text on a webpage.
2. Right-click the selected text.
3. Click on the context menu item that says `Ask llama for ""`.

4. A tooltip will appear with an answer from the LLM and options to search the text using different engines or custom shortcuts.

## Configuration
>[!IMPORTANT]
> You need to enter the Groq API key (free) to use this Chrome Extension.
>
> Follow the following instruction:
>
> 1. Register for a free account at [Groq](https://groq.com/).
> 2. Go to the [Groq Playground](https://console.groq.com/playground) and click on the "API Keys" in menu. And click "Create API Key" button.
To configure the extension, click on the extension icon in the toolbar.
