[{"data":1,"prerenderedAt":1623,"buildId":1624},["ShallowReactive",2],{"\u002Fguides\u002Flocal-ai-ollama":3,"\u002Fguides\u002Flocal-ai-ollama-surround":1346,"navigation":1353},{"id":4,"title":5,"body":6,"description":1339,"extension":1340,"meta":1341,"navigation":495,"path":1342,"seo":1343,"stem":1344,"__hash__":1345},"docs\u002F7.guides\u002F7.local-ai-ollama.md","Run AI locally with Ollama",{"type":7,"value":8,"toc":1318},"minimark",[9,21,47,51,56,68,74,95,106,110,214,217,237,241,845,849,884,888,901,920,924,930,983,991,995,998,1028,1032,1035,1071,1087,1091,1220,1224,1276,1280,1314],[10,11,12,13,20],"p",{},"Screenshots and photos are often private: chats, account pages, documents, receipts. Hosted AI services need every one of them sent to their servers. ",[14,15,19],"a",{"href":16,"rel":17},"https:\u002F\u002Follama.com",[18],"nofollow","Ollama"," runs open models on your own machine instead, and Tessra talks to it like any other AI service, so every AI step and every AI guide works with it.",[10,22,23,24,28,29,33,34,37,38,42,43,46],{},"This guide sets up the connection, helps you choose a model, and builds a ",[25,26,27],"strong",{},"library workflow"," that writes a detailed description of each new screenshot and keeps it as a searchable ",[14,30,32],{"href":31},"\u002Flibrary\u002Fattachments","attachment",". Afterwards, searching ",[25,35,36],{},"Files"," for ",[39,40,41],"em",{},"TypeError"," or ",[39,44,45],{},"invoice"," finds screenshots by what they show, even when their names say nothing.",[48,49],"workflow-diagram",{":steps":50},"[{\"name\":\"File uploaded\",\"summary\":\"PNG, JPEG and WebP\",\"trigger\":true},{\"name\":\"Load content\",\"icon\":\"i-lucide-file-input\"},{\"name\":\"AI describe image\",\"summary\":\"Detailed · Ollama\",\"icon\":\"i-lucide-sparkles\"},{\"name\":\"Save the description\",\"summary\":\"Add attachment · Description\",\"icon\":\"i-lucide-paperclip\"},{\"name\":\"AI suggest tags\",\"summary\":\"From the description · Ollama\",\"icon\":\"i-lucide-sparkles\"},{\"name\":\"Any tags?\",\"icon\":\"i-lucide-split\",\"branches\":[{\"label\":\"True\",\"steps\":[{\"name\":\"Add tags\",\"icon\":\"i-lucide-tag\"}]},{\"label\":\"False\"}]}]",[52,53,55],"h2",{"id":54},"what-youll-build","What you'll build",[10,57,58,59,63,64,67],{},"For ",[14,60,62],{"href":61},"\u002Fsamples\u002Fscreenshot-build-error.png","screenshot-build-error.png",", the file gets an attachment called ",[39,65,66],{},"Description",":",[69,70,71],"blockquote",{},[10,72,73],{},"A dark terminal window titled \"Terminal — npm run build\". A Vite production build transforms 312 modules and then fails with \"TypeError: Cannot read properties of undefined (reading 'map')\" at renderList in src\u002Fcomponents\u002FOrderList.tsx, line 42. npm reports exit code 1.",[10,75,76,77,80,81,84,85,88,89,37,91,94],{},"and the tags ",[78,79,78],"code",{},", ",[78,82,83],{},"errors"," and ",[78,86,87],{},"terminal",". Searching ",[25,90,36],{},[39,92,93],{},"orderlist"," then lists it, with the matching line highlighted.",[10,96,97,98,101,102,105],{},"The attachment, the tags and the search result are ",[25,99,100],{},"verified"," from a run. The description's wording is ",[25,103,104],{},"illustrative",": it's what a good vision model writes for the sample, and yours will differ.",[52,107,109],{"id":108},"before-you-start","Before you start",[111,112,113,124],"table",{},[114,115,116],"thead",{},[117,118,119,122],"tr",{},[120,121],"th",{},[120,123],{},[125,126,127,136,144,152,160,174,182,197,206],"tbody",{},[117,128,129,133],{},[130,131,132],"td",{},"Difficulty",[130,134,135],{},"Intermediate",[117,137,138,141],{},[130,139,140],{},"Time",[130,142,143],{},"About 30 minutes, plus downloading a model",[117,145,146,149],{},[130,147,148],{},"Workflow kind",[130,150,151],{},"Library workflow",[117,153,154,157],{},[130,155,156],{},"Connections",[130,158,159],{},"Ollama, set up below",[117,161,162,165],{},[130,163,164],{},"Models",[130,166,167,168,42,171],{},"A vision model, such as ",[78,169,170],{},"gemma3:4b",[78,172,173],{},"qwen2.5vl:7b",[117,175,176,179],{},[130,177,178],{},"Folders, fields",[130,180,181],{},"None",[117,183,184,187],{},[130,185,186],{},"Tags",[130,188,189,190,80,192,80,194],{},"A few you already use, such as ",[78,191,78],{},[78,193,83],{},[78,195,196],{},"receipts",[117,198,199,202],{},[130,200,201],{},"Sample file",[130,203,204],{},[14,205,62],{"href":61},[117,207,208,211],{},[130,209,210],{},"Who",[130,212,213],{},"An administrator, to allow the connection to reach your own network",[10,215,216],{},"You need a machine that can run a model: the Tessra server itself, or another computer on your network, ideally with a GPU or Apple silicon. A small vision model needs about 4 to 8 GB of free memory.",[218,219,220],"tip",{},[10,221,222,223,226,227,231,232,236],{},"The built-in ",[25,224,225],{},"Describe and tag images"," ",[14,228,230],{"href":229},"\u002Fautomations\u002Ftemplates#built-in-templates","template"," is close to this workflow. It suggests up to five tags, including new ones, and has no Condition before Add tags, so an image the model suggests no tags for fails its run. To start from it, add it with your Ollama connection, then add the Condition described in ",[14,233,235],{"href":234},"#tag-it-from-the-description","Tag it from the description",".",[52,238,240],{"id":239},"build-it","Build it",[242,243,245,250,258,283,335,338,342,349,378,427,436,513,520,536,540,553,604,621,625,657,664,668,677,732,735,739,748,773,776,779,786,814],"steps",{"level":244},"3",[246,247,249],"h3",{"id":248},"install-ollama-and-pull-a-model","Install Ollama and pull a model",[10,251,252,257],{},[14,253,256],{"href":254,"rel":255},"https:\u002F\u002Follama.com\u002Fdownload",[18],"Install Ollama"," on the machine that will run the model, then pull a vision model:",[259,260,265],"pre",{"className":261,"code":262,"language":263,"meta":264,"style":264},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark","ollama pull gemma3:4b\n","bash","",[78,266,267],{"__ignoreMap":264},[268,269,272,276,280],"span",{"class":270,"line":271},"line",1,[268,273,275],{"class":274},"sbgvK","ollama",[268,277,279],{"class":278},"s_sjI"," pull",[268,281,282],{"class":278}," gemma3:4b\n",[111,284,285,295],{},[114,286,287],{},[117,288,289,292],{},[120,290,291],{},"Model",[120,293,294],{},"Good for",[125,296,297,306,316,325],{},[117,298,299,303],{},[130,300,301],{},[78,302,170],{},[130,304,305],{},"A fast start on modest hardware. Describes, names and classifies screenshots well.",[117,307,308,313],{},[130,309,310],{},[78,311,312],{},"gemma3:12b",[130,314,315],{},"Noticeably better at reading small text, if you have the memory.",[117,317,318,322],{},[130,319,320],{},[78,321,173],{},[130,323,324],{},"Reading text in images, such as receipts and documents.",[117,326,327,332],{},[130,328,329],{},[78,330,331],{},"llama3.2",[130,333,334],{},"Text only. Fine for steps that only get text, such as suggesting tags from a description, but it can't look at images.",[10,336,337],{},"Tessra recognizes these names as vision models. Try two models on the same sample and keep the one whose answers you like.",[246,339,341],{"id":340},"let-tessra-reach-ollama","Let Tessra reach Ollama",[10,343,344,345,348],{},"Ollama listens on ",[78,346,347],{},"localhost:11434",", which only programs on the same machine, outside containers, can reach. Pick the setup that matches yours:",[10,350,351,354,355,358,359,362,363,366,367,370,371,374,375,67],{},[25,352,353],{},"Ollama on the same machine as Tessra in Docker."," Start Ollama with ",[78,356,357],{},"OLLAMA_HOST=0.0.0.0"," so it listens beyond ",[78,360,361],{},"localhost",". On Docker Desktop, the address is ",[78,364,365],{},"http:\u002F\u002Fhost.docker.internal:11434\u002Fv1",". On Linux, also add this to the ",[78,368,369],{},"tessra"," service in ",[78,372,373],{},"compose.yaml",", then run ",[78,376,377],{},"docker compose up -d",[259,379,383],{"className":380,"code":381,"filename":373,"language":382,"meta":264,"style":264},"language-yaml shiki shiki-themes material-theme-lighter github-light github-dark","services:\n  tessra:\n    extra_hosts:\n      - \"host.docker.internal:host-gateway\"\n","yaml",[78,384,385,395,403,411],{"__ignoreMap":264},[268,386,387,391],{"class":270,"line":271},[268,388,390],{"class":389},"sQzsp","services",[268,392,394],{"class":393},"sP7_E",":\n",[268,396,398,401],{"class":270,"line":397},2,[268,399,400],{"class":389},"  tessra",[268,402,394],{"class":393},[268,404,406,409],{"class":270,"line":405},3,[268,407,408],{"class":389},"    extra_hosts",[268,410,394],{"class":393},[268,412,414,417,421,424],{"class":270,"line":413},4,[268,415,416],{"class":393},"      -",[268,418,420],{"class":419},"sjJ54"," \"",[268,422,423],{"class":278},"host.docker.internal:host-gateway",[268,425,426],{"class":419},"\"\n",[10,428,429,432,433,67],{},[25,430,431],{},"Ollama in the same Compose project."," Add a service and use ",[78,434,435],{},"http:\u002F\u002Follama:11434\u002Fv1",[259,437,439],{"className":380,"code":438,"filename":373,"language":382,"meta":264,"style":264},"services:\n  ollama:\n    image: ollama\u002Follama\n    restart: unless-stopped\n    volumes:\n      - ollama-models:\u002Froot\u002F.ollama\n\nvolumes:\n  ollama-models:\n",[78,440,441,447,454,464,474,482,490,497,505],{"__ignoreMap":264},[268,442,443,445],{"class":270,"line":271},[268,444,390],{"class":389},[268,446,394],{"class":393},[268,448,449,452],{"class":270,"line":397},[268,450,451],{"class":389},"  ollama",[268,453,394],{"class":393},[268,455,456,459,461],{"class":270,"line":405},[268,457,458],{"class":389},"    image",[268,460,67],{"class":393},[268,462,463],{"class":278}," ollama\u002Follama\n",[268,465,466,469,471],{"class":270,"line":413},[268,467,468],{"class":389},"    restart",[268,470,67],{"class":393},[268,472,473],{"class":278}," unless-stopped\n",[268,475,477,480],{"class":270,"line":476},5,[268,478,479],{"class":389},"    volumes",[268,481,394],{"class":393},[268,483,485,487],{"class":270,"line":484},6,[268,486,416],{"class":393},[268,488,489],{"class":278}," ollama-models:\u002Froot\u002F.ollama\n",[268,491,493],{"class":270,"line":492},7,[268,494,496],{"emptyLinePlaceholder":495},true,"\n",[268,498,500,503],{"class":270,"line":499},8,[268,501,502],{"class":389},"volumes",[268,504,394],{"class":393},[268,506,508,511],{"class":270,"line":507},9,[268,509,510],{"class":389},"  ollama-models",[268,512,394],{"class":393},[10,514,515,516,519],{},"Pull models with ",[78,517,518],{},"docker compose exec ollama ollama pull gemma3:4b",". For GPU access, follow Ollama's Docker instructions.",[10,521,522,525,526,528,529,42,532,535],{},[25,523,524],{},"Ollama on another computer."," Start it with ",[78,527,357],{}," and use that computer's address, such as ",[78,530,531],{},"http:\u002F\u002F192.168.1.50:11434\u002Fv1",[78,533,534],{},"http:\u002F\u002Fgpu-box.lan:11434\u002Fv1",". Ollama has no password, so don't expose its port to the internet.",[246,537,539],{"id":538},"add-the-connection","Add the connection",[10,541,542,543,546,547,550,551,236],{},"Open ",[25,544,545],{},"Automations › Connections",", click ",[25,548,549],{},"Add connection"," and choose ",[25,552,19],{},[554,555,556,566,576,589],"ul",{},[557,558,559,562,563,236],"li",{},[25,560,561],{},"Address",": the address from the previous step, ending in ",[78,564,565],{},"\u002Fv1",[557,567,568,571,572,236],{},[25,569,570],{},"Allow private network addresses",": on. Every address above is on your own network, which Tessra refuses by default. This switch starts on for administrators; other users can't turn it on. See ",[14,573,575],{"href":574},"\u002Fconnections#outside-addresses-only","Outside addresses only",[557,577,578,581,582,584,585,588],{},[25,579,580],{},"Default model",": open the picker. It lists the models Ollama has pulled; choose ",[78,583,170],{},". Select ",[25,586,587],{},"Image input"," in the picker to hide models known not to take images.",[557,590,591,592,595,596,599,600,603],{},"Under ",[25,593,594],{},"Usage limits",", set ",[25,597,598],{},"At the same time"," to ",[78,601,602],{},"1"," if Ollama runs on a CPU or a small GPU. Requests then wait their turn instead of competing for memory.",[10,605,606,607,610,611,613,614,42,617,620],{},"Click ",[25,608,609],{},"Test connection",". It checks that Ollama answers and knows the default model, without running the model. Then click ",[25,612,549],{},". The Connections page shows it as ",[39,615,616],{},"Local",[39,618,619],{},"Private network",", from its address.",[246,622,624],{"id":623},"create-the-workflow","Create the workflow",[10,626,542,627,546,630,633,634,637,638,640,641,644,645,599,648,80,651,84,654,236],{},[25,628,629],{},"Automations › Workflows",[25,631,632],{},"New workflow",", name it ",[39,635,636],{},"Describe screenshots",", keep ",[25,639,151],{},", and choose ",[25,642,643],{},"File uploaded",". Set ",[25,646,647],{},"File types",[78,649,650],{},"image\u002Fpng",[78,652,653],{},"image\u002Fjpeg",[78,655,656],{},"image\u002Fwebp",[10,658,659,660,663],{},"Add ",[25,661,662],{},"Load content"," after the trigger.",[246,665,667],{"id":666},"describe-the-image","Describe the image",[10,669,659,670,673,674,236],{},[25,671,672],{},"AI describe image"," and click ",[25,675,676],{},"Configure step",[554,678,679,691,700,709,719],{},[557,680,681,684,685,687,688,236],{},[25,682,683],{},"Connection",": your Ollama connection. ",[25,686,291],{}," stays at ",[39,689,690],{},"Connection default",[557,692,693,696,697,236],{},[25,694,695],{},"Image",": ",[39,698,699],{},"Load content › Content",[557,701,702,696,705,708],{},[25,703,704],{},"Length",[25,706,707],{},"Detailed",": subjects, setting, visible text and notable details.",[557,710,711,714,715,718],{},[25,712,713],{},"Add text input",", then a template: ",[78,716,717],{},"File name: {{ subject.name }}",". It's sent as context, not instructions.",[557,720,721,722,725,726,696,729],{},"On the ",[25,723,724],{},"Advanced"," tab, ",[25,727,728],{},"Additional instructions",[39,730,731],{},"Quote any headings, error messages, product names and prices exactly as they appear.",[10,733,734],{},"Search matches whole words in the description, so the words the model quotes are the words you'll find the screenshot by.",[246,736,738],{"id":737},"save-it-as-an-attachment","Save it as an attachment",[10,740,659,741,744,745,67],{},[25,742,743],{},"Add attachment",", rename it ",[39,746,747],{},"Save the description",[554,749,750,757,766],{},[557,751,752,696,755],{},[25,753,754],{},"Name",[78,756,66],{},[557,758,759,762,763,236],{},[25,760,761],{},"Text",": from a step, ",[39,764,765],{},"AI describe image › Description",[557,767,768,696,771,236],{},[25,769,770],{},"Kind",[39,772,761],{},[10,774,775],{},"Text attachments are searchable and never shown on share pages.",[246,777,235],{"id":778},"tag-it-from-the-description",[10,780,659,781,673,784,236],{},[25,782,783],{},"AI suggest tags",[25,785,676],{},[554,787,788,800,807],{},[557,789,790,792,793,796,797,236],{},[25,791,683],{},": your Ollama connection. Keep ",[25,794,795],{},"Method"," at ",[25,798,799],{},"Language model",[557,801,802,804,805,236],{},[25,803,713],{},", then from a step, ",[39,806,765],{},[557,808,809,696,812,236],{},[25,810,811],{},"Most tags",[78,813,244],{},[10,815,816,817,820,821,824,825,226,828,831,832,835,836,824,839,841,842,844],{},"This step reads the description instead of the image, so it's quicker, and a text-only model can do it. Then add a ",[25,818,819],{},"Condition"," named ",[39,822,823],{},"Any tags?"," with ",[39,826,827],{},"AI suggest tags › Tags",[25,829,830],{},"isn't empty",", and ",[25,833,834],{},"Add tags"," on ",[25,837,838],{},"True",[25,840,186],{}," from a step, ",[39,843,827],{},". Add tags fails when it has nothing to add, which is what the Condition prevents.",[52,846,848],{"id":847},"test-it","Test it",[850,851,852,859,869,875],"ol",{},[557,853,854,855,858],{},"Upload the ",[14,856,857],{"href":61},"sample"," with the workflow inactive.",[557,860,606,861,864,865,868],{},[25,862,863],{},"Test",", choose it, and turn on ",[25,866,867],{},"Allow sending content to outside services",". Tessra treats every AI connection as an outside service, even a local one, because only the address you entered says where it is. The content still only goes to your Ollama.",[557,870,606,871,874],{},[25,872,873],{},"Start test",". The first request can take a while, because Ollama loads the model into memory first.",[557,876,877,878,880,881,883],{},"Select ",[25,879,672],{}," to read the description, and its ",[25,882,863],{}," tab for how long it took and the tokens it used.",[52,885,887],{"id":886},"turn-it-on","Turn it on",[10,889,606,890,893,894,897,898,900],{},[25,891,892],{},"Publish",", then turn on ",[25,895,896],{},"Active",". Upload a few screenshots, wait for their runs to finish, and search ",[25,899,36],{}," for a word that appears in one of them.",[10,902,903,904,907,908,640,910,913,914,916,917,919],{},"To describe screenshots you already have, build the same steps in a workflow whose trigger is ",[25,905,906],{},"Run manually",", select files in ",[25,909,36],{},[25,911,912],{},"More actions › Run automation",". With ",[25,915,598],{}," set to ",[78,918,602],{},", they're described one at a time.",[52,921,923],{"id":922},"what-to-expect","What to expect",[10,925,926,927,929],{},"A ",[25,928,100],{}," run, with an illustrative description:",[111,931,932,942],{},[114,933,934],{},[117,935,936,939],{},[120,937,938],{},"Step",[120,940,941],{},"Result",[125,943,944,955,964,976],{},[117,945,946,948],{},[130,947,672],{},[130,949,950,951,954],{},"The description above. Its ",[78,952,953],{},"ai"," output names the model that answered and the tokens it used.",[117,956,957,959],{},[130,958,747],{},[130,960,961,962],{},"A 272-byte text attachment, ",[39,963,66],{},[117,965,966,968],{},[130,967,783],{},[130,969,970,80,972,80,974],{},[78,971,78],{},[78,973,83],{},[78,975,87],{},[117,977,978,980],{},[130,979,834],{},[130,981,982],{},"The three tags",[10,984,985,986,37,988,990],{},"Searching ",[25,987,36],{},[39,989,93],{}," lists the screenshot, found by its attachment.",[52,992,994],{"id":993},"speed","Speed",[10,996,997],{},"Local models are as fast as the hardware they run on. As a rough guide, a small vision model describes a screenshot in a few seconds on a recent GPU or Apple silicon, and can take a minute or more on a CPU.",[554,999,1000,1003,1006,1015],{},[557,1001,1002],{},"The first request after Ollama has been idle loads the model, which adds seconds to minutes.",[557,1004,1005],{},"Each AI step attempt may take up to 8 minutes, and a single request to an AI connection up to 3 minutes. A slower model times out and is tried again.",[557,1007,1008,1010,1011,1014],{},[25,1009,598],{}," on the connection and ",[25,1012,1013],{},"Runs at the same time"," in the workflow's settings keep a burst of uploads from overwhelming the machine. Runs wait their turn; nothing is lost.",[557,1016,1017,226,1019,42,1022,1025,1026,236],{},[25,1018,704],{},[39,1020,1021],{},"Short",[39,1023,1024],{},"Alt text"," writes less and answers faster than ",[39,1027,707],{},[52,1029,1031],{"id":1030},"use-ollama-with-the-other-ai-guides","Use Ollama with the other AI guides",[10,1033,1034],{},"Every AI guide works with this connection. Two settings differ from the hosted defaults:",[554,1036,1037,1056],{},[557,1038,1039,84,1042,1045,1046,916,1048,1051,1052,599,1054,236],{},[25,1040,1041],{},"AI classify",[25,1043,1044],{},"AI detect"," start with ",[25,1047,795],{},[25,1049,1050],{},"Decision model",". Ollama doesn't serve decision models, so the editor flags the connection: set ",[25,1053,795],{},[25,1055,799],{},[557,1057,1058,1061,1062,916,1064,1067,1068,1070],{},[25,1059,1060],{},"AI extract"," starts with ",[25,1063,795],{},[25,1065,1066],{},"Extraction model",". Set it to ",[25,1069,799],{}," for the same reason.",[10,1072,1073,1074,80,1078,84,1082,1086],{},"With those changes, ",[14,1075,1077],{"href":1076},"\u002Fguides\u002Fcategorize-screenshots","Build a self-organizing screenshot library",[14,1079,1081],{"href":1080},"\u002Fguides\u002Fextract-receipts","Extract and organize receipts",[14,1083,1085],{"href":1084},"\u002Fguides\u002Fai-file-names","Name screenshots with AI"," run entirely on your own hardware.",[52,1088,1090],{"id":1089},"troubleshooting","Troubleshooting",[111,1092,1093,1103],{},[114,1094,1095],{},[117,1096,1097,1100],{},[120,1098,1099],{},"Problem",[120,1101,1102],{},"Cause and fix",[125,1104,1105,1118,1135,1151,1167,1180,1196,1207],{},[117,1106,1107,1112],{},[130,1108,1109],{},[78,1110,1111],{},"outbound_blocked",[130,1113,1114,1115,1117],{},"The address is on your network and ",[25,1116,570],{}," is off. Turn it on, as an administrator.",[117,1119,1120,1125],{},[130,1121,1122],{},[78,1123,1124],{},"connection_unreachable",[130,1126,1127,1128,1130,1131,1134],{},"Tessra can't reach Ollama. Check the address from inside the container, that Ollama was started with ",[78,1129,357],{},", and, on Linux, the ",[78,1132,1133],{},"extra_hosts"," line.",[117,1136,1137,1140],{},[130,1138,1139],{},"The model picker is empty",[130,1141,1142,1143,1146,1147,1150],{},"Ollama has no models yet, or Tessra can't reach it. Run ",[78,1144,1145],{},"ollama list"," on the Ollama machine, then ",[25,1148,1149],{},"Refresh"," in the picker.",[117,1152,1153,1158],{},[130,1154,1155],{},[78,1156,1157],{},"ai_model_unavailable",[130,1159,1160,1161,1164,1165,236],{},"The model isn't pulled on that machine. Run ",[78,1162,1163],{},"ollama pull"," with the exact name, including the tag after ",[78,1166,67],{},[117,1168,1169,1174],{},[130,1170,1171],{},[78,1172,1173],{},"ai_model_missing_feature",[130,1175,1176,1177,1179],{},"The model is known not to take images, such as ",[78,1178,331],{},". Choose a vision model for steps with an image.",[117,1181,1182,1188],{},[130,1183,1184,1187],{},[78,1185,1186],{},"connection_timeout",", or steps keep retrying",[130,1189,1190,1191,599,1193,1195],{},"The model is too slow for the hardware. Use a smaller model, set ",[25,1192,598],{},[78,1194,602],{},", or move Ollama to a machine with a GPU.",[117,1197,1198,1204],{},[130,1199,1200,1203],{},[78,1201,1202],{},"ai_invalid_output"," on AI suggest tags or classify",[130,1205,1206],{},"A small model didn't answer in the required JSON shape twice. Try a larger model; Ollama holds answers to the step's schema, which helps most models.",[117,1208,1209,1212],{},[130,1210,1211],{},"Descriptions miss the text in the image",[130,1213,1214,1215,42,1217,1219],{},"Use a model that reads text better, such as ",[78,1216,173],{},[78,1218,312],{},", and keep the instruction to quote text.",[52,1221,1223],{"id":1222},"make-it-your-own","Make it your own",[554,1225,1226,1237,1260,1270],{},[557,1227,1228,1231,1232,226,1234,1236],{},[25,1229,1230],{},"Shorter, cheaper descriptions."," Use ",[25,1233,704],{},[39,1235,1024],{}," for one sentence per screenshot. It's quicker, and still finds screenshots by their main subject.",[557,1238,1239,1242,1243,80,1246,226,1248,1251,1252,1255,1256,1259],{},[25,1240,1241],{},"Summaries for documents."," Replace AI describe image with ",[25,1244,1245],{},"AI summarize",[25,1247,704],{},[39,1249,1250],{},"Bullet points",", and save its ",[25,1253,1254],{},"Summary"," as a ",[39,1257,1258],{},"Markdown"," attachment.",[557,1261,1262,226,1265,1269],{},[25,1263,1264],{},"OCR instead of a vision model.",[14,1266,1268],{"href":1267},"\u002Fguides\u002Fsearchable-screenshots","Make screenshots searchable"," reads the exact text with Tessra OCR in about a second per screenshot on a processor, with no model at all. Use both: OCR for exact words, a description for what the screenshot shows.",[557,1271,1272,1275],{},[25,1273,1274],{},"Several machines."," Make one connection per Ollama machine, and pick which one each workflow uses.",[52,1277,1279],{"id":1278},"privacy-cost-and-reliability","Privacy, cost and reliability",[554,1281,1282,1285,1292,1298,1311],{},[557,1283,1284],{},"Files only go to the address in the connection. With Ollama on your own hardware, they never leave your network. Ollama itself doesn't need an internet connection once a model is pulled.",[557,1286,1287,1288,1291],{},"There's no cost per request, only the electricity and the hardware. Token counts still appear in each run, and ",[25,1289,1290],{},"Tokens a day"," still works as a cap.",[557,1293,1294,1295,1297],{},"The connection's address decides where data goes, not the preset you chose. If you point an ",[39,1296,19],{}," connection at a server you don't control, files go there.",[557,1299,1300,1301,1303,1304,599,1307,1310],{},"If the Ollama machine is off, AI steps fail with ",[78,1302,1124],{}," after their retries. Set ",[25,1305,1306],{},"If this step fails",[25,1308,1309],{},"Continue"," on optional AI steps, as the other guides do, so the rest of the workflow still runs.",[557,1312,1313],{},"AI descriptions can be wrong or miss things. They're notes about a file, never a change to it.",[1315,1316,1317],"style",{},"html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sQzsp, html code.shiki .sQzsp{--shiki-light:#E53935;--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sjJ54, html code.shiki .sjJ54{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":264,"searchDepth":397,"depth":405,"links":1319},[1320,1321,1322,1331,1332,1333,1334,1335,1336,1337,1338],{"id":54,"depth":397,"text":55},{"id":108,"depth":397,"text":109},{"id":239,"depth":397,"text":240,"children":1323},[1324,1325,1326,1327,1328,1329,1330],{"id":248,"depth":405,"text":249},{"id":340,"depth":405,"text":341},{"id":538,"depth":405,"text":539},{"id":623,"depth":405,"text":624},{"id":666,"depth":405,"text":667},{"id":737,"depth":405,"text":738},{"id":778,"depth":405,"text":235},{"id":847,"depth":397,"text":848},{"id":886,"depth":397,"text":887},{"id":922,"depth":397,"text":923},{"id":993,"depth":397,"text":994},{"id":1030,"depth":397,"text":1031},{"id":1089,"depth":397,"text":1090},{"id":1222,"depth":397,"text":1223},{"id":1278,"depth":397,"text":1279},"Connect Tessra to Ollama on your own hardware, pick a vision model, and describe and tag screenshots without sending them to a hosted AI service.","md",{},"\u002Fguides\u002Flocal-ai-ollama",{"title":5,"description":1339},"7.guides\u002F7.local-ai-ollama","P8aMEbIP7iOtW7wW-oY3ehqmPGTe9O7B9VgNGMgrfAA",[1347,1350],{"title":1085,"path":1084,"stem":1348,"description":1349,"children":-1},"7.guides\u002F6.ai-file-names","Replace random ShareX file names with short descriptive ones, safely, and keep the original name when the AI has no answer.",{"title":1268,"path":1267,"stem":1351,"description":1352,"children":-1},"7.guides\u002F8.searchable-screenshots","Read the text in every new screenshot with local OCR and store it, so search finds screenshots by what they say.",[1354,1374,1411,1455,1465,1484,1495,1537,1561,1575,1591],{"title":1355,"path":1356,"stem":1357,"children":1358,"icon":1373},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[1359,1361,1365,1369],{"title":1360,"path":1356,"stem":1357},"Introduction",{"title":1362,"path":1363,"stem":1364},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":1366,"path":1367,"stem":1368},"Configure ShareX","\u002Fgetting-started\u002Fsharex","1.getting-started\u002F3.sharex",{"title":1370,"path":1371,"stem":1372},"Updating Tessra","\u002Fgetting-started\u002Fupdating","1.getting-started\u002F4.updating","i-lucide-rocket",{"title":1375,"icon":1376,"path":1377,"stem":1378,"children":1379,"page":1410},"Library","i-lucide-folder","\u002Flibrary","2.library",[1380,1384,1388,1392,1395,1399,1402,1406],{"title":1381,"path":1382,"stem":1383},"Uploading files","\u002Flibrary\u002Fuploading","2.library\u002F1.uploading",{"title":1385,"path":1386,"stem":1387},"Files and folders","\u002Flibrary\u002Ffiles-and-folders","2.library\u002F2.files-and-folders",{"title":1389,"path":1390,"stem":1391},"Sharing files","\u002Flibrary\u002Fsharing","2.library\u002F3.sharing",{"title":186,"path":1393,"stem":1394},"\u002Flibrary\u002Ftags","2.library\u002F4.tags",{"title":1396,"path":1397,"stem":1398},"Fields","\u002Flibrary\u002Ffields","2.library\u002F5.fields",{"title":1400,"path":31,"stem":1401},"Attachments","2.library\u002F6.attachments",{"title":1403,"path":1404,"stem":1405},"Search","\u002Flibrary\u002Fsearch","2.library\u002F7.search",{"title":1407,"path":1408,"stem":1409},"Trash and recovery","\u002Flibrary\u002Ftrash","2.library\u002F8.trash",false,{"title":1412,"path":1413,"stem":1414,"children":1415,"icon":1454},"Automations","\u002Fautomations","3.automations\u002F01.index",[1416,1418,1422,1426,1430,1434,1438,1442,1446,1450],{"title":1417,"path":1413,"stem":1414},"Overview",{"title":1419,"path":1420,"stem":1421},"Your first workflow","\u002Fautomations\u002Ffirst-workflow","3.automations\u002F02.first-workflow",{"title":1423,"path":1424,"stem":1425},"The editor","\u002Fautomations\u002Feditor","3.automations\u002F03.editor",{"title":1427,"path":1428,"stem":1429},"Values and templates","\u002Fautomations\u002Fvalues","3.automations\u002F04.values",{"title":1431,"path":1432,"stem":1433},"Conditions and branching","\u002Fautomations\u002Fbranching","3.automations\u002F05.branching",{"title":1435,"path":1436,"stem":1437},"Upload intake","\u002Fautomations\u002Fintake","3.automations\u002F06.intake",{"title":1439,"path":1440,"stem":1441},"Testing","\u002Fautomations\u002Ftesting","3.automations\u002F07.testing",{"title":1443,"path":1444,"stem":1445},"Runs and history","\u002Fautomations\u002Fruns","3.automations\u002F08.runs",{"title":1447,"path":1448,"stem":1449},"Quarantine and failures","\u002Fautomations\u002Fquarantine","3.automations\u002F09.quarantine",{"title":1451,"path":1452,"stem":1453},"Workflow templates","\u002Fautomations\u002Ftemplates","3.automations\u002F10.templates","i-lucide-workflow",{"title":156,"path":1456,"stem":1457,"children":1458,"icon":1464},"\u002Fconnections","4.connections\u002F1.index",[1459,1460],{"title":1417,"path":1456,"stem":1457},{"title":1461,"path":1462,"stem":1463},"AI providers","\u002Fconnections\u002Fai-providers","4.connections\u002F2.ai-providers","i-lucide-plug",{"title":1466,"path":1467,"stem":1468,"children":1469,"icon":1483},"AI","\u002Fai","5.ai\u002F1.index",[1470,1471,1475,1479],{"title":1417,"path":1467,"stem":1468},{"title":1472,"path":1473,"stem":1474},"AI classify and extract","\u002Fai\u002Fclassify-and-extract","5.ai\u002F2.classify-and-extract",{"title":1476,"path":1477,"stem":1478},"AI describe, summarize and write","\u002Fai\u002Fdescribe-and-write","5.ai\u002F3.describe-and-write",{"title":1480,"path":1481,"stem":1482},"AI detect and suggest tags","\u002Fai\u002Fdetect-and-tag","5.ai\u002F4.detect-and-tag","i-lucide-sparkles",{"title":1485,"path":1486,"stem":1487,"children":1488,"icon":1494},"OCR","\u002Focr","5.ocr\u002F1.index",[1489,1490],{"title":1417,"path":1486,"stem":1487},{"title":1491,"path":1492,"stem":1493},"Setup","\u002Focr\u002Fsetup","5.ocr\u002F2.setup","i-lucide-scan-text",{"title":1496,"path":1497,"stem":1498,"children":1499,"icon":1536},"Self-hosting","\u002Fself-hosting","6.self-hosting\u002F1.index",[1500,1501,1504,1508,1512,1516,1520,1524,1528,1532],{"title":1417,"path":1497,"stem":1498},{"title":1090,"path":1502,"stem":1503},"\u002Fself-hosting\u002Ftroubleshooting","6.self-hosting\u002F10.troubleshooting",{"title":1505,"path":1506,"stem":1507},"Configuration","\u002Fself-hosting\u002Fconfiguration","6.self-hosting\u002F2.configuration",{"title":1509,"path":1510,"stem":1511},"Reverse proxies and HTTPS","\u002Fself-hosting\u002Freverse-proxy","6.self-hosting\u002F3.reverse-proxy",{"title":1513,"path":1514,"stem":1515},"DigitalOcean","\u002Fself-hosting\u002Fdigitalocean","6.self-hosting\u002F4.digitalocean",{"title":1517,"path":1518,"stem":1519},"Backups and restoration","\u002Fself-hosting\u002Fbackups","6.self-hosting\u002F5.backups",{"title":1521,"path":1522,"stem":1523},"Users and roles","\u002Fself-hosting\u002Fusers","6.self-hosting\u002F6.users",{"title":1525,"path":1526,"stem":1527},"Single sign-on","\u002Fself-hosting\u002Fsingle-sign-on","6.self-hosting\u002F7.single-sign-on",{"title":1529,"path":1530,"stem":1531},"Two-factor and passkeys","\u002Fself-hosting\u002Ftwo-factor-and-passkeys","6.self-hosting\u002F8.two-factor-and-passkeys",{"title":1533,"path":1534,"stem":1535},"Importing","\u002Fself-hosting\u002Fimporting","6.self-hosting\u002F9.importing","i-lucide-server",{"title":1538,"path":1539,"stem":1540,"children":1541,"icon":1560},"Guides","\u002Fguides","7.guides\u002F1.index",[1542,1543,1547,1551,1554,1557,1558,1559],{"title":1417,"path":1539,"stem":1540},{"title":1544,"path":1545,"stem":1546},"Optimize ShareX uploads","\u002Fguides\u002Fcompress-uploads","7.guides\u002F2.compress-uploads",{"title":1548,"path":1549,"stem":1550},"Send Discord notifications","\u002Fguides\u002Fdiscord-notifications","7.guides\u002F3.discord-notifications",{"title":1552,"path":1076,"stem":1553},"Organize screenshots with AI","7.guides\u002F4.categorize-screenshots",{"title":1555,"path":1080,"stem":1556},"Extract receipts with AI","7.guides\u002F5.extract-receipts",{"title":1085,"path":1084,"stem":1348},{"title":5,"path":1342,"stem":1344},{"title":1268,"path":1267,"stem":1351},"i-lucide-book-open",{"title":1562,"icon":1563,"path":1564,"stem":1565,"children":1566,"page":1410},"Reference","i-lucide-library","\u002Freference","8.reference",[1567,1571],{"title":1568,"path":1569,"stem":1570},"Step reference","\u002Freference\u002Fsteps","8.reference\u002F1.steps",{"title":1572,"path":1573,"stem":1574},"Limits and errors","\u002Freference\u002Flimits","8.reference\u002F2.limits",{"title":1576,"path":1577,"stem":1578,"children":1579,"icon":1590},"Development","\u002Fdevelopment","9.development\u002F1.index",[1580,1582,1586],{"title":1581,"path":1577,"stem":1578},"Local development",{"title":1583,"path":1584,"stem":1585},"Plugin development","\u002Fdevelopment\u002Fplugins","9.development\u002F2.plugins",{"title":1587,"path":1588,"stem":1589},"Writing documentation","\u002Fdevelopment\u002Fdocumentation","9.development\u002F3.documentation","i-lucide-code",{"title":1592,"path":1593,"stem":1594,"children":1595,"icon":1622},"Comparisons","\u002Fcomparisons","99.comparisons\u002F1.index",[1596,1598,1602,1606,1610,1614,1618],{"title":1597,"path":1593,"stem":1594},"Comparing Tessra",{"title":1599,"path":1600,"stem":1601},"Tessra and Zipline","\u002Fcomparisons\u002Fzipline","99.comparisons\u002F2.zipline",{"title":1603,"path":1604,"stem":1605},"Tessra and XBackBone","\u002Fcomparisons\u002Fxbackbone","99.comparisons\u002F3.xbackbone",{"title":1607,"path":1608,"stem":1609},"Tessra and chibisafe","\u002Fcomparisons\u002Fchibisafe","99.comparisons\u002F4.chibisafe",{"title":1611,"path":1612,"stem":1613},"Tessra and Slink","\u002Fcomparisons\u002Fslink","99.comparisons\u002F5.slink",{"title":1615,"path":1616,"stem":1617},"Tessra and Pingvin Share","\u002Fcomparisons\u002Fpingvin-share","99.comparisons\u002F6.pingvin-share",{"title":1619,"path":1620,"stem":1621},"Tessra and PicoShare","\u002Fcomparisons\u002Fpicoshare","99.comparisons\u002F7.picoshare","i-lucide-scale",1796303406855,"2eb8bd5e-681b-4964-b4c2-2a23ddfda32e"]