2025-12-20 21:41:03 +00:00
|
|
|
<p align="center">
|
|
|
|
|
<img src="assets/groqd-chatstar-512.svg" alt="groqd" width="180" />
|
|
|
|
|
</p>
|
2025-12-20 16:53:01 +00:00
|
|
|
|
2025-12-20 21:41:03 +00:00
|
|
|
<h1 align="center">groqd</h1>
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
|
A Home Assistant custom integration for Groq Cloud with memory, web search, and link ingestion.
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
---
|
2025-12-20 16:53:01 +00:00
|
|
|
|
|
|
|
|
## Features
|
2025-12-20 21:41:03 +00:00
|
|
|
- Multiple instances (different models, personalities, and settings)
|
|
|
|
|
- Persistent memory (device/user/global scopes)
|
|
|
|
|
- Tool calling via Home Assistant LLM API
|
|
|
|
|
- Optional web search via SearxNG
|
|
|
|
|
- Auto-fetch and ingest URLs from user messages
|
|
|
|
|
- Rich generation controls (temperature, top_p, penalties, max tokens, response format)
|
2025-12-20 16:53:01 +00:00
|
|
|
|
|
|
|
|
## Install (HACS)
|
2025-12-20 21:41:03 +00:00
|
|
|
1. Add this repo as a **Custom Repository** in HACS (type: Integration):
|
|
|
|
|
`https://github.com/sudoxreboot/groqd`
|
2025-12-20 16:53:01 +00:00
|
|
|
2. Install `groqd`.
|
|
|
|
|
3. Restart Home Assistant.
|
|
|
|
|
4. Add the integration from **Settings → Devices & Services**.
|
|
|
|
|
|
2025-12-20 21:41:03 +00:00
|
|
|
## Quick Start
|
|
|
|
|
- Create a new groqd entry.
|
|
|
|
|
- Set your Groq API key.
|
|
|
|
|
- Pick a model (default: `meta-llama/llama-4-maverick-17b-128e-instruct`).
|
|
|
|
|
- Set a personality prompt if you want tone/style changes.
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
Open **groqd → Options** to configure:
|
|
|
|
|
- Memory scope: `device`, `user`, `global`, or `conversation`
|
|
|
|
|
- Context window size
|
|
|
|
|
- Max tokens, temperature, top_p, penalties
|
|
|
|
|
- Response format (`text` / `json_object`)
|
|
|
|
|
- SearxNG (enable + URL + language + safe search)
|
|
|
|
|
- Auto-fetch URLs in user messages
|
|
|
|
|
- Time format (12h / 24h)
|
|
|
|
|
|
|
|
|
|
## Recommended Prompt Additions
|
|
|
|
|
To make tone warmer and lyrical:
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
Be warm, playful, and a bit lyrical. If the user quotes lyrics, continue one line then respond empathetically.
|
|
|
|
|
"""
|
|
|
|
|
|
2025-12-20 16:53:01 +00:00
|
|
|
## Notes
|
2025-12-20 21:41:03 +00:00
|
|
|
- TTS/STT are handled by Home Assistant and other integrations.
|
|
|
|
|
- Web search is optional and only used if enabled.
|
|
|
|
|
- Auto-fetch pulls page text and injects it into the prompt for better grounding.
|
|
|
|
|
|
|
|
|
|
## Support
|
|
|
|
|
Open issues or requests at: https://github.com/sudoxreboot/groqd/issues
|