home assistant extended ai updates
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
- [Philips Hue Switches](#philips-hue-switches)
|
||||
- [Datetimes](#datetimes)
|
||||
- [LG TV Switch](#lg-tv-switch)
|
||||
- [Raspberry Pi Docker](#raspberry-pi-docker)
|
||||
- [Extended OpenAI Conversation](#extended-openai-conversation)
|
||||
|
||||
## Certificates
|
||||
|
||||
@@ -708,3 +710,43 @@ Stolen from <https://www.fabriziomusacchio.com/blog/2021-08-15-strftime_Cheat_Sh
|
||||
target:
|
||||
device_id: "{{device_id('media_player.living_room_lg_tv')}}"
|
||||
```
|
||||
|
||||
## Raspberry Pi Docker
|
||||
|
||||
```bash
|
||||
mkdir venv
|
||||
|
||||
docker run -d \
|
||||
--name homeassistant \
|
||||
--privileged \
|
||||
--restart=unless-stopped \
|
||||
-e TZ=America/New_York \
|
||||
-v /root/config:/config \
|
||||
-v /run/dbus:/run/dbus:ro \
|
||||
--network=host \
|
||||
ghcr.io/home-assistant/home-assistant:stable
|
||||
|
||||
sudo apt update && sudo apt install ffmpeg
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
pip install openwakeword
|
||||
pip install -U openai-whisper
|
||||
pip install piper-tts
|
||||
```
|
||||
|
||||
## Extended OpenAI Conversation
|
||||
|
||||
Setting up a new llama.cpp agent:
|
||||
|
||||
| Field | Value |
|
||||
| ------------------- | ------------------------------------ |
|
||||
| Name | llama-cpp.reeselink.com |
|
||||
| API Key | placeholder |
|
||||
| Base URL | `https://llama-cpp.reeselink.com/v1` |
|
||||
| API Version | v1 |
|
||||
| Organization | blank |
|
||||
| Skip Authentication | Yes |
|
||||
| API Provider | OpenAI |
|
||||
|
||||
Model Name: `ggml-org/gpt-oss-120b-GGUF`
|
||||
Reference in New Issue
Block a user