Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

ChatGPT Fallback Skill

When in doubt, ask ChatGPT, powered by OpenAI Solver.

You need to configure a key, get it at https://platform.openai.com/api-keys

Or use a LocalAI (see example below)

About

Capabilities:

  • Remembers what user said earlier in the conversation
  • Trained to decline inappropriate requests

Limitations:

  • May occasionally generate incorrect information
  • May occasionally produce harmful instructions or biased content
  • Limited knowledge of world and events after 2021

Configuration

Under skill settings (.config/mycroft/skills/skill-ovos-fallback-chatgpt.openvoiceos/settings.json) you can tweak some parameters for chatGPT.

Option Value Description
key sk-XXXYYYZZZAAABBB123 Your api_key to access OpenAI API
persona You are a helpful assistant who gives very short but factual answers. Give a personality to chatGPT
model gpt-3.5-turbo LLM model to use, see all the options here
api_url https://llama.smartgic.io/v1 Optional and only required with a local AI server
enable_memory true Remember the last generated outputs
memory_size 15 How many memories to keep
name Chat G.P.T. Name to give to the AI assistant
confirmation true Spoken confirmation will be triggered when a request is sent to the AI

The 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.

Configurations

The skill utilizes the ~/.config/mycroft/skills/skill-ovos-fallback-chatgpt.openvoiceos/settings.json file which allows you to configure it.

Configuration for use with OpenAI (ChatGPT)

{
  "key": "sk-XXXYYYZZZAAABBB123",
  "model": "gpt-3.5-turbo",
  "persona": "You are a helpful voice assistant with a friendly tone and fun sense of humor. You respond in 40 words or fewer.",
  "enable_memory": true,
  "memory_size": 15,
  "__mycroft_skill_firstrun": false
}

Configuration for use with Local AI

When 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

Hint: If you're running an ollama server, you can use http://localhost:11434/v1 as the api_url.

{
  "api_url": "https://llama.smartgic.io/v1",
  "key": "sk-xxx",
  "model": "llama3:latest",
  "persona": "You are a helpful voice assistant with a friendly tone and fun sense of humor. You respond in 40 words or fewer.",
  "enable_memory": true,
  "memory_size": 15,
  "name": "A.I.",
  "confirmation": false,
  "__mycroft_skill_firstrun": false
}

See also

Examples

  • "Explain quantum computing in simple terms"
  • "Got any creative ideas for a 10 year old’s birthday?"

Metadata

Release files for skill-ovos-fallback-chatgpt 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skill-ovos-fallback-chatgpt 0.1.13
File Size Uploaded
skill-ovos-fallback-chatgpt-0.1.13.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for skill-ovos-fallback-chatgpt 0.1.13
File Interpreter ABI Platform
skill_ovos_fallback_chatgpt-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 42.0 kB

Release files / skill-ovos-fallback-chatgpt-0.1.13.tar.gz

Download URL skill-ovos-fallback-chatgpt-0.1.13.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eef18b0e7209d158e99295fcf77ba68524d1487e81600e84634e4f7e2ca9b281
BLAKE2b-256 checksum
How to use checksums
07196912f42d33ee78fcac4deaf53cf56b74a87e634cfc2f87703ae90d924c9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / skill_ovos_fallback_chatgpt-0.1.13-py3-none-any.whl

Download URL skill_ovos_fallback_chatgpt-0.1.13-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b35f6eda64b9e783bb5d4f289bcc1eb7d5c4d24d7c65181ea03115a140a5e641
BLAKE2b-256 checksum
How to use checksums
73636859ceee74b8661f27fea193bbd616612482eb933026e61ff1ef03f64d41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page