# Deepgram Source: https://docs.voqal.dev/compute/intent/deepgram Deepgram is a speech recognition platform that uses deep learning to transcribe audio and video into text This is currently under development. # Picovoice Source: https://docs.voqal.dev/compute/intent/picovoice Picovoice is a platform for building voice products on the edge This is currently under development. Rhino - [https://picovoice.ai/platform/rhino/](https://picovoice.ai/platform/rhino/) # Serenade Source: https://docs.voqal.dev/compute/intent/serenade Open-source speech-to-code engine designed for developers ## Serenade Intent Provider The [Serenade](https://serenade.ai/) Intent Provider offers developers the ability to control their IDE with their voice with low latency by requiring a specific grammar to be followed. The full list of available intents offered by this provider can be found in the [Serenade Documentation](https://serenade.ai/docs). ### Configuration ### Intents | Command | Description | Examples | | ----------------------- | ------------------------------------ | --------------------------------------------------------- | | go to \[selector] | Move your cursor around a file | `go to line fifty`, `go to next function` | | add \[code] | Add a new statement or construct | `add return false`, `add class exception` | | insert \[code] | Insert text at your cursor | `insert foo of bar plus baz` | | change \[old] to \[new] | Change existing text | `change hello to goodbye`, `change return value to false` | | delete \[selector] | Delete text | `delete foo bar`, `delete next function` | | copy/paste \[selector] | Copy, cut, paste | `copy method`, `cut previous two words`, `paste` | | indent/dedent | Change the indentation level of code | `indent block`, `dedent if` | | save | Save the current file | `save` | | undo | Undo the last operation | `undo` | | open \[text] | Open a new file | `open react.js` | | (next/previous) tab | Switch tabs in your editor | `next tab`, `previous tab` | # Anthropic Source: https://docs.voqal.dev/compute/llm/anthropic This is currently under development. # DeepSeek Source: https://docs.voqal.dev/compute/llm/deepseek This is currently under development. # Fireworks AI Source: https://docs.voqal.dev/compute/llm/fireworks This is currently under development. # Groq Source: https://docs.voqal.dev/compute/llm/groq This is currently under development. # Hugging Face Source: https://docs.voqal.dev/compute/llm/huggingface Hugging Face is a company that provides a large collection of pre-trained models for natural language processing (NLP) tasks This is currently under development. # Mistral AI Source: https://docs.voqal.dev/compute/llm/mistralai Mistral AI is a platform that enables you to build, train, and deploy machine learning models at scale This is currently under development. # Ollama Source: https://docs.voqal.dev/compute/llm/ollama Get up and running with large language models, locally This is currently under development. # OpenAI Source: https://docs.voqal.dev/compute/llm/openai OpenAI TTS is a text-to-speech model that aims to provide high-quality and natural-sounding speech synthesis This is currently under development. # Together AI Source: https://docs.voqal.dev/compute/llm/togetherai Together AI is a platform that enables you to build and deploy AI models in a collaborative environment This is currently under development. # Gemini Source: https://docs.voqal.dev/compute/mm/gemini Google’s largest and most capable AI model This is currently under development. # Helicone Source: https://docs.voqal.dev/compute/observability/helicone Open-source LLM monitoring and analysis tool This is currently under development. # Overview Source: https://docs.voqal.dev/compute/overview Equip your Voqal Assistant with enhanced computational capabilities ## Voqal Compute The Voqal Assistant is designed for flexibility and can be integrated with a variety of compute providers. Below are some of the most popular providers that can be integrated with the Voqal Assistant. You can request additional compute providers [here](https://github.com/voqal/voqal/issues). ### Voice Detection Providers ### Speech-to-Text Providers ### Intent Detection Providers ### Multimodal Model Providers ### Language Model Providers ### Text-to-Speech Providers ### Observability Providers # AssemblyAI Source: https://docs.voqal.dev/compute/stt/assemblyai This is currently under development. # Deepgram Source: https://docs.voqal.dev/compute/stt/deepgram Deepgram is a speech recognition platform that uses deep learning to transcribe audio and video into text This is currently under development. # Groq (Whisper) Source: https://docs.voqal.dev/compute/stt/groq This is currently under development. # OpenAI Source: https://docs.voqal.dev/compute/stt/openai OpenAI TTS is a text-to-speech model that aims to provide high-quality and natural-sounding speech synthesis This is currently under development. # Picovoice Source: https://docs.voqal.dev/compute/stt/picovoice Picovoice is a platform for building voice products on the edge This is currently under development. * Leopard - [https://picovoice.ai/platform/leopard/](https://picovoice.ai/platform/leopard/) * Cheetah - [https://picovoice.ai/platform/cheetah/](https://picovoice.ai/platform/cheetah/) # Deepgram Source: https://docs.voqal.dev/compute/tts/deepgram Deepgram is a speech recognition platform that uses deep learning to transcribe audio and video into text This is currently under development. # OpenAI Source: https://docs.voqal.dev/compute/tts/openai OpenAI TTS is a text-to-speech model that aims to provide high-quality and natural-sounding speech synthesis This is currently under development. # Picovoice Source: https://docs.voqal.dev/compute/tts/picovoice Picovoice is a platform for building voice products on the edge This is currently under development. Orca - [https://picovoice.ai/platform/orca/](https://picovoice.ai/platform/orca/) # Picovoice Source: https://docs.voqal.dev/compute/vad/picovoice Picovoice is a platform for building voice products on the edge This is currently under development. Cobra - [https://picovoice.ai/platform/cobra/](https://picovoice.ai/platform/cobra/) # Voqal Source: https://docs.voqal.dev/compute/vad/voqal Embedded voice activity detection (VAD) library This is currently under development. # Add User Context Source: https://docs.voqal.dev/context/embedded/functions/add-user-context The `addUserContext()` function is used to add custom data to the current prompt. ## Parameters * `key` (required): The key of the custom data to be added * `value` (required): The value of the custom data to be added ## Configuration To use the `addUserContext()` function, provide the necessary parameters in your prompt. For example: ```markdown theme={null} {{ addUserContext("name", "John Doe") }} ``` # Chunk Text Source: https://docs.voqal.dev/context/embedded/functions/chunk-text The `chunkText()` function is used to chunk large text into smaller, more manageable pieces. This functionality is useful when editing large text or source code files (i.e. 1k+ lines of code). This function will attempt to chunk code via natural breaks (e.g., functions, code blocks, etc) as long as the chunk limit is not exceeded. The minimum code that can be chunked is the currently visible lines in the editor regardless of the presence of natural breaks. ## Parameters * `viewingCode` (required): The code or text to be chunked * `limit` (optional): The maximum number of lines or other units to include in the chunk. Starts from currently visible lines in the editor. Appends/removes text equally from the top and bottom of the chunk. * Default: Currently visible lines in editor * `limitType` (optional): The type of limit, currently supporting "LINES" * Default: "LINES" ## Configuration To use the `chunkText()` function, provide the necessary parameters in your prompt. For example: ```markdown theme={null} {{ chunkText(developer.viewingCode, 200, "LINES").codeWithCaret }} ``` # Get User Context Source: https://docs.voqal.dev/context/embedded/functions/get-user-context The `getUserContext()` function is used to retrieve custom data from the current prompt. ## Parameters * `key` (required): The key of the custom data to be retrieved ## Configuration To use the `getUserContext()` function, provide the necessary parameters in your prompt. For example: ```markdown theme={null} {{ getUserContext("name") }} ``` # Slurp URL Source: https://docs.voqal.dev/context/embedded/functions/slurp-url The `slurpUrl()` function is used to fetch the contents of a URL and return it as a string. ## Parameters * `url` (required): The URL to fetch * `cacheTime` (required): The time to cache content (1s/1m/etc) * `headers` (optional): The headers to send with the request ## Configuration To use the `slurpUrl()` function, provide the necessary parameters in your prompt. For example: ```markdown theme={null} {{ slurpUrl("https://example.com", "1m", "header1:value1,header2:value2") }} ``` # Assistant Source: https://docs.voqal.dev/context/embedded/variables/assistant This is currently under development. ## Schema ```yaml theme={null} context: name: assistant description: Provides configuration about the assistant. parameters: type: object properties: availableTools: type: array description: A list of available tools that can be used by the assistant. items: type: object properties: name: type: string description: The name of the tool. yaml: type: string description: The YAML definition of the tool's function parameters. directiveMode: type: boolean description: Indicates if the assistant is in directive mode. includeSystemPrompt: type: boolean description: Whether to include the system prompt. includeToolsInMarkdown: type: boolean description: Whether to include tool descriptions in Markdown output. promptSettings: type: object description: Various settings for how prompts and responses are handled. properties: assistantId: type: string description: The unique identifier for the assistant. assistantThreadId: type: string description: The thread identifier for the assistant. codeSmellCorrection: type: boolean description: Whether to automatically correct code smells. continueConversion: type: boolean description: Whether to continue a conversation when certain conditions apply. decomposeDirectives: type: boolean description: Whether to decompose directives into sub-prompts. editFormat: type: string description: The edit format to use, e.g., FULL_TEXT. editMode: type: boolean description: Whether the assistant is in edit mode. ephemeralSystemPrompt: type: boolean description: Whether the system prompt is ephemeral (in-memory only). functionCalling: type: string description: How the assistant will call functions, e.g., NATIVE. languageModel: type: string description: The language model in use, e.g., VOQAL_PRO. promptFile: type: string description: The file path to the main prompt. promptName: type: string description: The name of the prompt. promptText: type: string description: The text of the prompt itself. promptUrl: type: string description: The URL to the prompt file, if any. provider: type: string description: The provider used for the language model or other services. separateInitialUserMessage: type: boolean description: Whether to separate the initial user message from the rest of the conversation. showPartialResults: type: boolean description: Whether to show partial results as they are generated. streamCompletions: type: boolean description: Whether to stream responses in real-time. toolChoice: type: string description: Indicates which tool is currently chosen, if any. vectorStoreId: type: string description: The identifier for a vector store, if any. speechId: type: string nullable: true description: The current speech identifier, if any. usingAudioModality: type: boolean description: Indicates if audio input/output is being used. ``` ## Example ```json theme={null} { "availableTools": [{ "name": "ignore", "yaml": "type: function function: name: ignore parameters: type: object properties: transcription: type: string description: The transcription to ignore. ignore_reason: type: string description: The reason for ignoring the transcription. required: - transcription - ignore_reason description: Ignore the transcription " }, { "name": "answer_question", "yaml": "type: function function: name: answer_question parameters: type: object properties: text: type: string description: The text to speak required: - text description: Speaks the given text. Use this to respond to the user with spoken text. " }], "directiveMode": false, "includeSystemPrompt": true, "includeToolsInMarkdown": false, "promptSettings": { "assistantId": "", "assistantThreadId": "", "codeSmellCorrection": false, "continueConversion": true, "decomposeDirectives": false, "editFormat": "FULL_TEXT", "editMode": false, "ephemeralSystemPrompt": true, "functionCalling": "NATIVE", "languageModel": "VOQAL_PRO", "promptFile": "/home/brandon/.voqal/library/voqal/voqal.md", "promptName": "voqal", "promptText": "", "promptUrl": "", "provider": "CUSTOM_FILE", "separateInitialUserMessage": true, "showPartialResults": false, "streamCompletions": true, "toolChoice": "NONE", "vectorStoreId": "" }, "speechId": null, "usingAudioModality": false } ``` # Computer Source: https://docs.voqal.dev/context/embedded/variables/computer This is currently under development. ## Schema ```yaml theme={null} context: name: computer description: Provides information about the computer. parameters: type: object properties: activeApplication: type: object description: The currently active application. properties: foreground: type: boolean description: Indicates if the application is in the foreground. id: type: string description: The identifier of the active application. os: type: string description: Operating system name associated with the application. processName: type: string description: The process name of the active application. title: type: string description: The title of the active application. currentTime: type: string format: date-time description: The current time in ISO 8601 format. osArch: type: string description: The architecture of the operating system. osName: type: string description: The name of the operating system. osVersion: type: string description: The version of the operating system. visibleApplications: type: array description: A list of currently visible applications. items: type: object properties: id: type: string description: The identifier of the application. title: type: string description: The title of the application window. processName: type: string description: The process name of the application. os: type: string description: Operating system name associated with the application. foreground: type: boolean description: Indicates if the application is in the foreground. ``` ## Example ```json theme={null} { "activeApplication": { "foreground": true, "id": "3235", "os": "Linux", "processName": "firefox-bin", "title": "Picture-in-Picture" }, "currentTime": "2020-01-01T00:00:00Z", "osArch": "amd64", "osName": "Linux", "osVersion": "6.8.0-51-generic", "visibleApplications": [{ "id": "3235", "title": "Firefox", "processName": "firefox-bin", "os": "Linux", "foreground": false }] } ``` # Examples Source: https://docs.voqal.dev/context/examples ## RapidAPI Integration ```markdown theme={null} {{ addUserContext( "sslcheck", slurpUrl( "https://check-ssl.p.rapidapi.com/sslcheck?domain=voqal.dev", "1m", "x-rapidapi-host:check-ssl.p.rapidapi.com,x-rapidapi-key:yourkey" ) ) }} {% if getUserContext("sslcheck").isvalidCertificate %} - Website: {{ getUserContext("sslcheck").certDetails.subject.CN }} - Expires: {{ getUserContext("sslcheck").expiry }} ({{ getUserContext("sslcheck").daysLeft }} days left) {% endif %} ``` # Overview Source: https://docs.voqal.dev/context/overview Personalize your Voqal Assistant for your workflow, codebase, and team Context is the information (typically audio + text) that gets passed to language model(s) when you ask your Voqal Assistant to do something. This information is used to help the language model(s) understand the meaning of your request and how best to respond to that request. Voqal leverages this functionality by adding the available [Voqal Tools](/tools/overview) to the current context in combination with your request and any other relevant information. It then sends that off to the language model(s) which pick and choose which tool(s) Voqal executes to fulfill your request. ## Context Extensions [Pebble Templates](https://pebbletemplates.io/) are used to render the context for any given directive. For example, the following snippet shows how [Voqal Tools](/tools/overview) are added to the [Voqal Modes](/modes/overview). ````markdown theme={null} ## System Available Tools {% for tool in assistant.availableTools %} ### {{ tool.name }} ```yaml {{ tool.yaml }} ``` {% endfor %} ```` ### Variables * [assistant](/context/embedded/variables/assistant) * [computer](/context/embedded/variables/computer) * [integration](/context/embedded/variables/integration) * [library](/context/embedded/variables/library) * [user](/context/embedded/variables/user) ### Functions * [addUserContext(key: String, value: String)](/context/embedded/functions/add-user-context) * [chunkText(text: ViewingCode, chunkSize: number, chunkType: string)](/context/embedded/functions/chunk-text) * [getUserContext(key: String)](/context/embedded/functions/get-user-context) * [slurpUrl(url: String, cacheTime: String, headers: String)](/context/embedded/functions/slurp-url) # Customization Source: https://docs.voqal.dev/customization Your Voqal Assistant is adaptable and teachable Voqal is fully programmable from the tools to the prompts. Being so, it is possible to create customized Voqal Assistants for various teams, projects, industries, individuals, etc. To make it easier to configure Voqal, a configuration file can be created at `.voqal/config.json` in the root of the project. Once you create this file, speak to Voqal and get it to respond. While responding it will notice the empty configuration file and save its current configuration to it. You can then fully edit the underlying AI providers, tools, and prompts to your liking. You will need to restart Voqal for the changes to take effect. Note: Voqal is unable to see files with `.voqal` in the file path. This is intended behavior to prevent Voqal from being able to read its own confidential configuration files. # Changelog Source: https://docs.voqal.dev/development/changelog Lists the changes between Voqal versions ## 2024.2.0 > Release Date: 2024-12-31 * Todo # Introduction Source: https://docs.voqal.dev/introduction Voqal — Voice native AI agent for the builders of tomorrow Voqal is a programmable voice-native AI agent which enable voice-based interactions with all of your favorite services and applications. # Visual Studio Code Source: https://docs.voqal.dev/library/applications/vscode ### Context * [Active Text Editor](./vscode/context/active_text_editor) - The active text editor in Visual Studio Code * [Open Files](./vscode/context/open_files) - The files that are currently open in Visual Studio Code * [Project File Tree](./vscode/context/project_file_tree) - The file tree of the current project in Visual Studio Code * [Project Root](./vscode/context/project_root) - The root directory of the current project in Visual Studio Code * [Workspace Files](./vscode/context/workspace_files) - The files in the current workspace in Visual Studio Code ### Tools * [Cancel](./vscode/tools/cancel) - Cancel the current operation * [Close File](./vscode/tools/close_file) - Close a file in Visual Studio Code * [Edit Text](./vscode/tools/edit_text) - Edit the text in the active text editor in Visual Studio Code * [Goto Line](./vscode/tools/goto_line) - Go to a specific line in the active text editor in Visual Studio Code * [Looks Good](./vscode/tools/looks_good) - Mark a transcription as "looks good" * [Open File](./vscode/tools/open_file) - Open a file in Visual Studio Code * [Toggle Edit Mode](./vscode/tools/toggle_edit_mode) - Toggle edit mode in the active text editor in Visual Studio Code # Overview Source: https://docs.voqal.dev/library/overview Teach your Voqal Assistant a wide range of tasks to perform autonomously The Voqal Library is organized by application and service, with each containing a set of contexts and tools that can be used to interact with the application or service. Contexts provide information about the current state of the application or service, while tools provide the ability to perform actions within the application or service. * [Applications](#applications) * [Chrome](#chrome) * [Visual Studio Code](#visual-studio-code) * [Services](#services) * [Gmail API](#gmail-api) * [Websites](#websites) * [Gmail](#gmail) * [YouTube](#youtube) # Voqal (Default) ### Tools * [Answer Question](./voqal/tools/answer_question) - Answer a question * [Ignore](./voqal/tools/ignore) - Ignore a transcription # Applications ## Chrome ### Tools * [Create Tab](./chrome/tools/create_tab) - Create a new tab in the browser * [Make Tab Active](./chrome/tools/make_tab_active) - Make a tab active in the browser ## Visual Studio Code ### Context * [Active Text Editor](./vscode/context/active_text_editor) - The active text editor in Visual Studio Code * [Open Files](./vscode/context/open_files) - The files that are currently open in Visual Studio Code * [Project File Tree](./vscode/context/project_file_tree) - The file tree of the current project in Visual Studio Code * [Project Root](./vscode/context/project_root) - The root directory of the current project in Visual Studio Code * [Workspace Files](./vscode/context/workspace_files) - The files in the current workspace in Visual Studio Code ### Tools * [Cancel](./vscode/tools/cancel) - Cancel the current operation * [Close File](./vscode/tools/close_file) - Close a file in Visual Studio Code * [Edit Text](./vscode/tools/edit_text) - Edit the text in the active text editor in Visual Studio Code * [Goto Line](./vscode/tools/goto_line) - Go to a specific line in the active text editor in Visual Studio Code * [Looks Good](./vscode/tools/looks_good) - Mark a transcription as "looks good" * [Open File](./vscode/tools/open_file) - Open a file in Visual Studio Code * [Toggle Edit Mode](./vscode/tools/toggle_edit_mode) - Toggle edit mode in the active text editor in Visual Studio Code # Services ## Gmail API ### Tools * [Add Label](./gmail_api/tools/add_label) - Add a label to an email * [Make Draft](./gmail_api/tools/make_draft) - Create a draft email # Websites ## Gmail ### Context * [Displayed Email](./gmail/context/displayed_email) - The email that is currently displayed in Gmail * [Is Inside Email](./gmail/context/is_inside_email) - Whether the user is inside an email in Gmail * [List Emails](./gmail/context/list_emails) - The list of emails in Gmail * [User Info](./gmail/context/user_info) - Information about the user in Gmail ### Tools * [Back To Inbox](./gmail/tools/back_to_inbox) - Go back to the inbox in Gmail * [Draft Email Reply](./gmail/tools/draft_email_reply) - Draft a reply to an email in Gmail * [Mark Selected Emails](./gmail/tools/mark_selected_emails) - Mark the selected emails in Gmail * [Read Email](./gmail/tools/read_email) - Read an email in Gmail * [Select Emails](./gmail/tools/select_emails) - Select emails in Gmail ## YouTube ### Context * [Current Time](./youtube/context/current_time) - The time at which the video is currently playing * [Video Duration](./youtube/context/video_duration) - The total duration of the video ### Tools * [Next Video](./youtube/tools/next_video) - Play the next video in the playlist * [Previous Video](./youtube/tools/previous_video) - Play the previous video in the playlist * [Search](./youtube/tools/search) - Search for a video * [Seek Video](./youtube/tools/seek_video) - Move to a specific time in the video # Gmail API Source: https://docs.voqal.dev/library/services/gmail_api ### Tools * [Add Label](./gmail_api/tools/add_label) - Add a label to an email * [Make Draft](./gmail_api/tools/make_draft) - Create a draft email # Gmail Source: https://docs.voqal.dev/library/websites/gmail ### Context * [Displayed Email](./gmail/context/displayed_email) - The email that is currently displayed in Gmail * [Is Inside Email](./gmail/context/is_inside_email) - Whether the user is inside an email in Gmail * [List Emails](./gmail/context/list_emails) - The list of emails in Gmail * [User Info](./gmail/context/user_info) - Information about the user in Gmail ### Tools * [Back To Inbox](./gmail/tools/back_to_inbox) - Go back to the inbox in Gmail * [Draft Email Reply](./gmail/tools/draft_email_reply) - Draft a reply to an email in Gmail * [Mark Selected Emails](./gmail/tools/mark_selected_emails) - Mark the selected emails in Gmail * [Read Email](./gmail/tools/read_email) - Read an email in Gmail * [Select Emails](./gmail/tools/select_emails) - Select emails in Gmail # YouTube Source: https://docs.voqal.dev/library/websites/youtube ### Context * [Current Time](./youtube/context/current_time) - The time at which the video is currently playing * [Video Duration](./youtube/context/video_duration) - The total duration of the video ### Tools * [Next Video](./youtube/tools/next_video) - Play the next video in the playlist * [Previous Video](./youtube/tools/previous_video) - Play the previous video in the playlist * [Search](./youtube/tools/search) - Search for a video * [Seek Video](./youtube/tools/seek_video) - Move to a specific time in the video # Privacy Source: https://docs.voqal.dev/privacy Your Voqal Assistant is personal and private ## Data Ownership We are committed to protecting your privacy and ensuring that your personal information is secure. We do not collect any personal information from you unless you provide it to us. That means your voice interactions, source code, and any other data you provide to the Voqal Assistant are only transmitted to the [Voqal Compute](/compute/overview) providers you choose and are never shared with us or any other third party. # Quickstart Source: https://docs.voqal.dev/quickstart Zero to natural speech programming in under 5 minutes To use Voqal, you will need one key: * A [Google API](https://ai.google.dev/pricing) access key (for multimodal inferencing) Google is currently offering a free tier for Gemini 1.5 flash, which is the current recommended model to use with Voqal. ## Acquire Google API key * Go to [Google AI Studio](https://ai.google.dev/pricing) * Sign up for a free account or login to your existing account * Click the "Get API key" button to create a new API key * Copy the API key to your clipboard ## Install plugin 1. Navigate to your JetBrains IDE. 2. Press `CTRL+ALT+S` to open the `Settings` dialog and then go to `Plugins`. 3. Open the `Marketplace` tab. 4. Search for `Voqal`. 5. Press `Install`. 6. Click `OK` in the `Settings` dialog. ## Configure plugin Voqal can be configured in the IDE settings under: * Settings -> Tools -> Voqal ## Speak up That's all there is to it. Voqal doesn't use wake words or keywords, so you can start coding right away. Go ahead and say hello!