ovos chatGPT skill
Project description
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.
key
- your api_key to access OpenAIpersona
- can be used to create a "persona", give a personality to chatGPTmodel
- LLM model to use, eggpt-3.5-turbo
, see all options hereapi_url: <your_local_LocalAI_server_url>
- an optional setting. For the use of OpenAI / ChatGPT it is not necessary. For the use of a LocalAI server instead of OpenAI, the URL can be pointed to an alternative/local server. When using LocalAI, the "key" can be anything, but it has to exist. Read more about it in the OVOS technical manual, page persona servermemory_enable
- true or falsememory_size
- default = 15
The default persona is helpful, creative, clever, and very friendly.
Example for use with OpenAI/ ChatGPT:
cat ~/.config/mycroft/skills/skill-ovos-fallback-chatgpt.openvoiceos/settings.json
{
"key": "sk-XXXYYYZZZAAABBB123",
"model": "gpt-3.5-turbo",
"persona": "You are a helpful voice assistant with a friendly tone and fun sense of humor",
"enable_memory": true,
"memory_size": 15,
"__mycroft_skill_firstrun": false
}
Example for use with LocalAI:
cat ~/.config/mycroft/skills/skill-ovos-fallback-chatgpt.openvoiceos/settings.json
{
"api_url": "https://llama.smartgic.io/v1",
"key": "sk-xxx",
"persona": "You are a helpful voice assistant with a friendly tone and fun sense of humor",
"enable_memory": true,
"memory_size": 15,
"__mycroft_skill_firstrun": false
}
Examples
- "Explain quantum computing in simple terms"
- "Got any creative ideas for a 10 year old’s birthday?"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for skill_ovos_fallback_chatgpt-0.0.2a15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e126567d98f7aacca084e96ef8f2cdc1cf4e0199a88ccffd7ed50b3b4192450d |
|
MD5 | 4b3a38ac58fd2ae08f72e4cf06c47252 |
|
BLAKE2b-256 | 1e6327231e2879391f4d0b9f71d369fbb296ef957fafabfbf236dfdf9e3c1625 |