Skip to content

AI/LLM middleware between Home Assistant and Ollama

Notifications You must be signed in to change notification settings

sammcj/llamanator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Llamde

Template examples

{
  "templates": {
    "default": "{{.Query}} default template content",
    "lighting": "{{.Query}} lighting control template content"
  }
}

Home assistant examples

Default template

rest_command:
  call_default_template:
    url: "https://llamanator.local/template/default"
    method: POST
    headers:
      Authorization: "Bearer YOUR_SECRET_TOKEN"
    content_type: 'application/json'
    payload: '{"query": "Your query here"}'

Curl

curl -X POST "http://localhost:28080/template/default" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_SECRET_TOKEN" \
  -d '{"query": "tell me a joke"}'

About

AI/LLM middleware between Home Assistant and Ollama

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published