PageSourceSearch

https://flanksource.com/assets/js/823f386a.32fc7fb5.js

js flanksource.com collected 2026-10-03 20:55:46 UTC 3,070 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkmission_control=globalThis.webpackChunkmission_control||[]).push([[3576],{29210(e,n,o){o.r(n),o.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>m,frontMatter:()=>s,metadata:()=>t,toc:()=>r});const t=JSON.parse('{"id":"reference/connections/ollama","title":"Ollama","description":"Connect to local Ollama instances for self-hosted AI-powered playbook actions","source":"@site/docs/reference/connections/ollama.mdx","sourceDirName":"reference/connections","slug":"/reference/connections/ollama","permalink":"/docs/reference/connections/ollama","draft":false,"unlisted":false,"editUrl":"https://github.com/flanksource/docs/tree/main/docs/reference/connections/ollama.mdx","tags":[],"version":"current","frontMatter":{"title":"Ollama","description":"Connect to local Ollama instances for self-hosted AI-powered playbook actions","sidebar_custom_props":{"icon":"ollama"}},"sidebar":"reference","previous":{"title":"ntfy","permalink":"/docs/reference/connections/ntfy"},"next":{"title":"OpenAI","permalink":"/docs/reference/connections/openai"}}');var l=o(74848),a=o(28453);const s={title:"Ollama",description:"Connect to local Ollama instances for self-hosted AI-powered playbook actions",sidebar_custom_props:{icon:"ollama"}},c=void 0,i={},r=[{value:"Used By",id:"used-by",level:2},{value:"Example",id:"example",level:2}];function d(e){const n={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,a.R)(),...e.components},{Fields:o}=n;return o||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Fields",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.p,{children:"Ollama connections enable integration with locally hosted Ollama instances for AI-powered playbook actions without external API dependencies."}),"\n",(0,l.jsx)(n.h2,{id:"used-by",children:"Used By"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"/docs/guide/playbooks/actions/ai",children:"AI Action"})," - Use self-hosted AI for log analysis and automation"]}),"\n"]}),"\n",(0,l.jsx)(o,{connection:"ollama"}),"\n",(0,l.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-yaml",metastring:'title="ollama-connection.yaml"',children:"apiVersion: mission-control.flanksource.com/v1\nkind: Connection\nmetadata:\n  name: ollama-local\nspec:\n  ollama:\n    model: llama3.1:8b\n    url:\n      value: http://ollama.ollama-system.svc:11434\n"})})]})}function m(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,l.jsx)(n,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},28453(e,n,o){o.d(n,{R:()=>s,x:()=>c});var t=o(96540);const l={},a=t.createContext(l);function s(e){const n=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.