{"id":21081686,"url":"https://github.com/OpenVoiceOS/ovos-skill-fallback-chatgpt","last_synced_at":"2025-05-16T08:33:20.141Z","repository":{"id":104840595,"uuid":"595239113","full_name":"OpenVoiceOS/ovos-skill-fallback-chatgpt","owner":"OpenVoiceOS","description":null,"archived":true,"fork":false,"pushed_at":"2025-01-31T06:19:52.000Z","size":103,"stargazers_count":23,"open_issues_count":4,"forks_count":16,"subscribers_count":10,"default_branch":"dev","last_synced_at":"2025-04-26T05:19:16.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenVoiceOS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-30T17:22:18.000Z","updated_at":"2025-01-31T06:20:13.000Z","dependencies_parsed_at":"2024-01-13T15:04:35.569Z","dependency_job_id":"6f561117-2404-43ef-b4e4-fce161a5ff53","html_url":"https://github.com/OpenVoiceOS/ovos-skill-fallback-chatgpt","commit_stats":null,"previous_names":["openvoiceos/ovos-skill-fallback-chatgpt","openvoiceos/skill-ovos-fallback-chatgpt"],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-skill-fallback-chatgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-skill-fallback-chatgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-skill-fallback-chatgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-skill-fallback-chatgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenVoiceOS","download_url":"https://codeload.github.com/OpenVoiceOS/ovos-skill-fallback-chatgpt/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254496454,"owners_count":22080715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T20:10:04.401Z","updated_at":"2025-05-16T08:33:15.133Z","avatar_url":"https://github.com/OpenVoiceOS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatGPT Fallback Skill\n\nWhen in doubt, ask ChatGPT, powered by [OpenAI Solver](https://github.com/OpenVoiceOS/ovos-solver-plugin-openai-persona).\n\nYou need to configure a `key`, get it at https://platform.openai.com/api-keys\n\nOr use a LocalAI (see example below)\n\n## About\n\nCapabilities:\n\n- Remembers what user said earlier in the conversation\n- Trained to decline inappropriate requests\n\nLimitations:\n\n- May occasionally generate incorrect information\n- May occasionally produce harmful instructions or biased content\n- Limited knowledge of world and events after 2021\n\n## Configuration\n\nUnder skill settings (`.config/mycroft/skills/skill-ovos-fallback-chatgpt.openvoiceos/settings.json`) you can tweak some parameters for chatGPT.\n\n| Option          | Value                                                                   | Description                                                                           |\n| --------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |\n| `key`           | `sk-XXXYYYZZZAAABBB123`                                                 | Your `api_key` to access OpenAI API                                                   |\n| `persona`       | `You are a helpful assistant who gives very short but factual answers.` | Give a personality to chatGPT                                                         |\n| `model`         | `gpt-3.5-turbo`                                                         | LLM model to use, see all the options [here](https://platform.openai.com/docs/models) |\n| `api_url`       | `https://llama.smartgic.io/v1`                                          | Optional and **only** required with a local AI server                                 |\n| `enable_memory` | `true`                                                                  | Remember the last generated outputs                                                   |\n| `memory_size`   | `15`                                                                    | How many memories to keep                                                             |\n| `name`          | `Chat G.P.T.`                                                           | Name to give to the AI assistant                                                      |\n| `confirmation`  | `true`                                                                  | Spoken confirmation will be triggered when a request is sent to the AI                |\n\nWhen using a local AI server instead of OpenAI, the `api_url`has to redirect to an alternative/local server compatible with OpenAI API. When using local AI, the `key` can be anything, but it has to exist. Read more about it in the OVOS technical manual, page [persona server](https://openvoiceos.github.io/ovos-technical-manual/persona_server/#compatible-projects)\n\nThe default persona is `You are a helpful voice assistant with a friendly tone and fun sense of humor. You respond in 40 words or fewer.`\n\n## Configurations\n\nThe skill utilizes the `~/.config/mycroft/skills/skill-ovos-fallback-chatgpt.openvoiceos/settings.json` file which allows you to configure it.\n\n### Configuration for use with OpenAI **(ChatGPT)**\n\n```json\n{\n  \"key\": \"sk-XXXYYYZZZAAABBB123\",\n  \"model\": \"gpt-3.5-turbo\",\n  \"persona\": \"You are a helpful voice assistant with a friendly tone and fun sense of humor\",\n  \"enable_memory\": true,\n  \"memory_size\": 15,\n  \"__mycroft_skill_firstrun\": false\n}\n```\n\n### Configuration for use with Local AI\n\n```json\n{\n  \"api_url\": \"https://llama.smartgic.io/v1\",\n  \"key\": \"sk-xxx\",\n  \"persona\": \"You are a helpful voice assistant with a friendly tone and fun sense of humor\",\n  \"enable_memory\": true,\n  \"memory_size\": 15,\n  \"name\": \"A.I.\",\n  \"confirmation\": false,\n  \"__mycroft_skill_firstrun\": false\n}\n```\n\n## Examples\n\n- \"Explain quantum computing in simple terms\"\n- \"Got any creative ideas for a 10 year old’s birthday?\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenVoiceOS%2Fovos-skill-fallback-chatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOpenVoiceOS%2Fovos-skill-fallback-chatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenVoiceOS%2Fovos-skill-fallback-chatgpt/lists"}