[{"data":1,"prerenderedAt":590},["ShallowReactive",2],{"docs-navigation":3,"docs:\u002Fdocs\u002Ffeatures\u002Ftags":235,"docs-surround:\u002Fdocs\u002Ffeatures\u002Ftags":585},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,13,37,55,70,128,146,191,217],{"title":10,"path":6,"stem":11,"icon":12},"Hubstruct documentation","docs\u002Findex","book-open",{"title":14,"icon":15,"path":16,"stem":17,"children":18,"page":36},"Getting started","rocket","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[19,24,28,32],{"title":20,"path":21,"stem":22,"icon":23},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction",null,{"title":25,"path":26,"stem":27,"icon":23},"Requirements","\u002Fdocs\u002Fgetting-started\u002Frequirements","docs\u002F1.getting-started\u002F2.requirements",{"title":29,"path":30,"stem":31,"icon":23},"Quick start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F3.quick-start",{"title":33,"path":34,"stem":35,"icon":23},"First steps","\u002Fdocs\u002Fgetting-started\u002Ffirst-steps","docs\u002F1.getting-started\u002F4.first-steps",false,{"title":38,"icon":39,"path":40,"stem":41,"children":42,"page":36},"Concepts","lightbulb","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[43,47,51],{"title":44,"path":45,"stem":46,"icon":23},"How it works","\u002Fdocs\u002Fconcepts\u002Fhow-it-works","docs\u002F2.concepts\u002F1.how-it-works",{"title":48,"path":49,"stem":50,"icon":23},"Processing steps","\u002Fdocs\u002Fconcepts\u002Fprocessing","docs\u002F2.concepts\u002F2.processing",{"title":52,"path":53,"stem":54,"icon":23},"Media","\u002Fdocs\u002Fconcepts\u002Fmedia","docs\u002F2.concepts\u002F3.media",{"title":56,"path":57,"stem":58,"children":59,"icon":69},"Libraries","\u002Fdocs\u002Flibraries","docs\u002F3.libraries\u002F1.index",[60,61,65],{"title":56,"path":57,"stem":58,"icon":23},{"title":62,"path":63,"stem":64,"icon":23},"Storage","\u002Fdocs\u002Flibraries\u002Fs3","docs\u002F3.libraries\u002F3.s3",{"title":66,"path":67,"stem":68,"icon":23},"Uploading","\u002Fdocs\u002Flibraries\u002Fuploading","docs\u002F3.libraries\u002F4.uploading","layer-group",{"title":71,"icon":72,"path":73,"stem":74,"children":75,"page":36},"Features","wand-magic-sparkles","\u002Fdocs\u002Ffeatures","docs\u002F4.features",[76,80,84,88,92,96,100,104,108,112,116,120,124],{"title":77,"path":78,"stem":79,"icon":23},"Browsing","\u002Fdocs\u002Ffeatures\u002Fbrowsing","docs\u002F4.features\u002F01.browsing",{"title":81,"path":82,"stem":83,"icon":23},"Search","\u002Fdocs\u002Ffeatures\u002Fsearch","docs\u002F4.features\u002F02.search",{"title":85,"path":86,"stem":87,"icon":23},"Tags","\u002Fdocs\u002Ffeatures\u002Ftags","docs\u002F4.features\u002F03.tags",{"title":89,"path":90,"stem":91,"icon":23},"Albums","\u002Fdocs\u002Ffeatures\u002Falbums","docs\u002F4.features\u002F04.albums",{"title":93,"path":94,"stem":95,"icon":23},"People and faces","\u002Fdocs\u002Ffeatures\u002Fpeople","docs\u002F4.features\u002F05.people",{"title":97,"path":98,"stem":99,"icon":23},"Groups","\u002Fdocs\u002Ffeatures\u002Fgroups","docs\u002F4.features\u002F06.groups",{"title":101,"path":102,"stem":103,"icon":23},"Duplicates and stacks","\u002Fdocs\u002Ffeatures\u002Fduplicates-and-stacks","docs\u002F4.features\u002F07.duplicates-and-stacks",{"title":105,"path":106,"stem":107,"icon":23},"NSFW","\u002Fdocs\u002Ffeatures\u002Fnsfw","docs\u002F4.features\u002F08.nsfw",{"title":109,"path":110,"stem":111,"icon":23},"Trash","\u002Fdocs\u002Ffeatures\u002Ftrash","docs\u002F4.features\u002F09.trash",{"title":113,"path":114,"stem":115,"icon":23},"Home and the dashboard","\u002Fdocs\u002Ffeatures\u002Fhome-and-dashboard","docs\u002F4.features\u002F10.home-and-dashboard",{"title":117,"path":118,"stem":119,"icon":23},"Live updates and offline","\u002Fdocs\u002Ffeatures\u002Flive-updates","docs\u002F4.features\u002F11.live-updates",{"title":121,"path":122,"stem":123,"icon":23},"Appearance and the app","\u002Fdocs\u002Ffeatures\u002Fappearance","docs\u002F4.features\u002F12.appearance",{"title":125,"path":126,"stem":127,"icon":23},"Places","\u002Fdocs\u002Ffeatures\u002Fplaces","docs\u002F4.features\u002F13.places",{"title":129,"icon":130,"path":131,"stem":132,"children":133,"page":36},"Administration","sliders","\u002Fdocs\u002Fadministration","docs\u002F5.administration",[134,138,142],{"title":135,"path":136,"stem":137,"icon":23},"Users and sign-in","\u002Fdocs\u002Fadministration\u002Fusers-and-sign-in","docs\u002F5.administration\u002F1.users-and-sign-in",{"title":139,"path":140,"stem":141,"icon":23},"API keys","\u002Fdocs\u002Fadministration\u002Fapi-keys","docs\u002F5.administration\u002F2.api-keys",{"title":143,"path":144,"stem":145,"icon":23},"Processing settings","\u002Fdocs\u002Fadministration\u002Fprocessing-settings","docs\u002F5.administration\u002F3.processing-settings",{"title":147,"icon":148,"path":149,"stem":150,"children":151,"page":36},"Self-hosting","server","\u002Fdocs\u002Fself-hosting","docs\u002F6.self-hosting",[152,156,160,164,167,171,175,179,183,187],{"title":153,"path":154,"stem":155,"icon":23},"Architecture","\u002Fdocs\u002Fself-hosting\u002Farchitecture","docs\u002F6.self-hosting\u002F1.architecture",{"title":157,"path":158,"stem":159,"icon":23},"Telemetry","\u002Fdocs\u002Fself-hosting\u002Ftelemetry","docs\u002F6.self-hosting\u002F10.telemetry",{"title":161,"path":162,"stem":163,"icon":23},"Sharing one GPU","\u002Fdocs\u002Fself-hosting\u002Fgpu","docs\u002F6.self-hosting\u002F2.gpu",{"title":62,"path":165,"stem":166,"icon":23},"\u002Fdocs\u002Fself-hosting\u002Fstorage","docs\u002F6.self-hosting\u002F3.storage",{"title":168,"path":169,"stem":170,"icon":23},"Backups","\u002Fdocs\u002Fself-hosting\u002Fbackups","docs\u002F6.self-hosting\u002F4.backups",{"title":172,"path":173,"stem":174,"icon":23},"Updating","\u002Fdocs\u002Fself-hosting\u002Fupdating","docs\u002F6.self-hosting\u002F5.updating",{"title":176,"path":177,"stem":178,"icon":23},"Scaling","\u002Fdocs\u002Fself-hosting\u002Fscaling","docs\u002F6.self-hosting\u002F6.scaling",{"title":180,"path":181,"stem":182,"icon":23},"HTTPS and a domain","\u002Fdocs\u002Fself-hosting\u002Freverse-proxy","docs\u002F6.self-hosting\u002F7.reverse-proxy",{"title":184,"path":185,"stem":186,"icon":23},"Troubleshooting","\u002Fdocs\u002Fself-hosting\u002Ftroubleshooting","docs\u002F6.self-hosting\u002F8.troubleshooting",{"title":188,"path":189,"stem":190,"icon":23},"The config file","\u002Fdocs\u002Fself-hosting\u002Fconfig-file","docs\u002F6.self-hosting\u002F9.config-file",{"title":192,"icon":193,"path":194,"stem":195,"children":196,"page":36},"Reference","book","\u002Fdocs\u002Freference","docs\u002F7.reference",[197,201,205,209,213],{"title":198,"path":199,"stem":200,"icon":23},"Environment variables","\u002Fdocs\u002Freference\u002Fenvironment","docs\u002F7.reference\u002F1.environment",{"title":202,"path":203,"stem":204,"icon":23},"Worker roles","\u002Fdocs\u002Freference\u002Fworker-roles","docs\u002F7.reference\u002F2.worker-roles",{"title":206,"path":207,"stem":208,"icon":23},"API","\u002Fdocs\u002Freference\u002Fapi","docs\u002F7.reference\u002F3.api",{"title":210,"path":211,"stem":212,"icon":23},"Keyboard shortcuts","\u002Fdocs\u002Freference\u002Fkeyboard-shortcuts","docs\u002F7.reference\u002F4.keyboard-shortcuts",{"title":214,"path":215,"stem":216,"icon":23},"Models","\u002Fdocs\u002Freference\u002Fmodels","docs\u002F7.reference\u002F5.models",{"title":218,"icon":219,"path":220,"stem":221,"children":222,"page":36},"Hubstruct Cloud","cloud","\u002Fdocs\u002Fcloud","docs\u002F8.cloud",[223,227,231],{"title":224,"path":225,"stem":226,"icon":23},"Getting started with the cloud","\u002Fdocs\u002Fcloud\u002Fgetting-started","docs\u002F8.cloud\u002F1.getting-started",{"title":228,"path":229,"stem":230,"icon":23},"Plans and billing","\u002Fdocs\u002Fcloud\u002Fplans-and-billing","docs\u002F8.cloud\u002F2.plans-and-billing",{"title":232,"path":233,"stem":234,"icon":23},"Moving between cloud and self-hosted","\u002Fdocs\u002Fcloud\u002Fmoving","docs\u002F8.cloud\u002F3.moving",{"id":236,"title":85,"body":237,"description":579,"extension":580,"eyebrow":71,"icon":23,"meta":581,"navigation":582,"path":86,"seo":583,"stem":87,"__hash__":584},"docs\u002Fdocs\u002F4.features\u002F03.tags.md",{"type":238,"value":239,"toc":565},"minimark",[240,244,265,268,273,278,290,294,301,346,354,357,367,391,394,399,410,416,420,426,445,448,460,464,474,488,491,494,504,508,514,534,538],[241,242,243],"p",{},"Tags are labels on media. Hubstruct has two kinds:",[245,246,247,255],"ul",{},[248,249,250,254],"li",{},[251,252,253],"strong",{},"Regular tags"," are applied by hand.",[248,256,257,260,261,264],{},[251,258,259],{},"Smart tags"," are applied by the ",[251,262,263],{},"tagging step",": a vision classifier checks every media in the library for each smart tag, and applies it when it's sure enough.",[241,266,267],{},"A tag can be switched between the two at any time.",[269,270,272],"h2",{"id":271},"the-tags-page","The Tags page",[241,274,275,277],{},[251,276,85],{}," lists every tag in the library, as a gallery of mosaics (each tag's best matches) or as a table. Sort by name, by how many media carry it, or by when it was made; search by name or description.",[241,279,280,281,285,286,289],{},"Open a tag to see its media, best match first, as a list you can ",[282,283,284],"a",{"href":78},"filter, sort and select"," like any other. Its header shows how many media carry it, and its ",[251,287,288],{},"Settings"," tab has the rest.",[269,291,293],{"id":292},"making-a-tag","Making a tag",[241,295,296,297,300],{},"Choose ",[251,298,299],{},"New tag"," and give it:",[245,302,303,340],{},[248,304,305,308,309,313,314,317,318,321,322,325,326,329,330,333,334,336,337,339],{},[251,306,307],{},"A name",", as you'd say it, such as ",[310,311,312],"code",{},"Golden hour"," or ",[310,315,316],{},"Birthday party",". Up to 64 characters, and no commas. Hubstruct makes a ",[251,319,320],{},"slug"," from it (",[310,323,324],{},"golden_hour","), shown under the name as you type. Slugs are unique within a library, so ",[310,327,328],{},"Close up"," and ",[310,331,332],{},"close-up"," can't be two tags: tagging something ",[310,335,332],{}," uses the ",[310,338,328],{}," tag. A filter can name a tag by either.",[248,341,342,345],{},[251,343,344],{},"A description",": what the tag means, in plain words, up to 1,000 characters.",[241,347,348,349,353],{},"The description matters for smart tags: the classifier is asked about the tag by its name ",[350,351,352],"em",{},"and its description",". \"A sandy beach or the sea shore, with or without people\" gets far better results than \"beach\".",[269,355,259],{"id":356},"smart-tags",[241,358,359,360,362,363,366],{},"On a tag's ",[251,361,288],{},", switch on ",[251,364,365],{},"Smart tagging",". From then on:",[368,369,370,381,388],"ol",{},[248,371,372,373,376,377,380],{},"The tagging step asks the classifier, for every media in the library, ",[350,374,375],{},"does this fit?",", and stores its ",[251,378,379],{},"confidence",", from 0 to 100%.",[248,382,383,384,387],{},"Where the confidence reaches the tag's ",[251,385,386],{},"required confidence",", the tag is applied.",[248,389,390],{},"New media is scored for every smart tag as it arrives.",[241,392,393],{},"Adding a smart tag only scores media for that tag: the step asks about tags each media is still missing a score for, so the rest of the library's scores aren't redone.",[395,396,398],"h3",{"id":397},"the-classifier","The classifier",[241,400,401,402,405,406,409],{},"Smart tags are scored by ",[251,403,404],{},"d1",", a small decision model. For each media it's given the picture (a GIF or video as a short clip it watches through) and asked, for each smart tag, whether it applies; its confidence is the probability it gives ",[350,407,408],{},"yes",". All of a media's tags are asked in one request, over one reading of it, so a library with dozens of smart tags is still quick to tag.",[241,411,412,413,415],{},"While the models server isn't running, tagging waits. See ",[282,414,161],{"href":162},".",[395,417,419],{"id":418},"required-confidence","Required confidence",[241,421,422,423,425],{},"Each smart tag has its own ",[251,424,386],{},", 80% by default. In the tag's Settings:",[245,427,428,435,442],{},[248,429,430,431,434],{},"A ",[251,432,433],{},"histogram"," shows how the classifier's confidences for this tag are spread across the library.",[248,436,437,438,441],{},"Moving the slider shows, live, how many media it ",[251,439,440],{},"would tag",", the matches just inside the line and the ones just outside it, and how many are tagged by hand regardless.",[248,443,444],{},"A word beside it says how strict the setting is.",[241,446,447],{},"Changing the threshold re-labels media straight away, from the stored scores: nothing is re-run. Lower it and more media get the tag; raise it and some lose it.",[449,450,453],"callout",{"title":451,"type":452},"Finding the right threshold","tip",[241,454,455,456,459],{},"Look at the media just outside the line. If they mostly ",[350,457,458],{},"should"," have the tag, lower the threshold; if the ones just inside are mostly wrong, raise it. Then improve the description if neither works: a sharper description moves the right media further from the wrong ones.",[269,461,463],{"id":462},"locking-a-tag-on-or-off","Locking a tag on or off",[241,465,466,467,469,470,473],{},"On a media's page, the ",[251,468,85],{}," card lists every tag in the library with this media's confidence for each, applied tags first. Check or uncheck a tag to ",[251,471,472],{},"lock"," it:",[245,475,476,482],{},[248,477,478,481],{},[251,479,480],{},"Locked on",": the media keeps the tag whatever its confidence.",[248,483,484,487],{},[251,485,486],{},"Locked off",": the media never gets the tag, however sure the classifier is.",[241,489,490],{},"A locked tag keeps its state when the threshold moves or the tag is re-scored. The classifier's confidence is still refreshed and shown, so you can see when it disagrees with you.",[241,492,493],{},"The card has its own search, and sorts by applied-then-confidence, or by confidence alone. Its order stays put while you work, so checking a tag doesn't reshuffle the list under your cursor.",[241,495,496,497,313,500,503],{},"To tag many media at once, select them and use ",[251,498,499],{},"Tag",[251,501,502],{},"Untag"," in the selection bar.",[269,505,507],{"id":506},"renaming-merging-and-deleting","Renaming, merging and deleting",[241,509,510,511,513],{},"All from the tag's ",[251,512,288],{},":",[245,515,516,522,528],{},[248,517,518,521],{},[251,519,520],{},"Rename"," it, or change its description. If it's a smart tag, a new description doesn't re-score existing media by itself; retry tagging on them if you want the new wording applied.",[248,523,524,527],{},[251,525,526],{},"Merge"," it into another tag: every media with this tag gets the other, and this one is deleted. Useful for tidying tags with different spellings.",[248,529,530,533],{},[251,531,532],{},"Delete"," it: it's removed from every media.",[269,535,537],{"id":536},"tags-elsewhere","Tags elsewhere",[245,539,540,547,555,562],{},[248,541,542,544,545,415],{},[251,543,81],{}," finds media by tag: a search whose words make up a tag's name finds that tag's media. See ",[282,546,81],{"href":82},[248,548,549,552,553,415],{},[251,550,551],{},"Album rules"," can require tags, any or all. See ",[282,554,89],{"href":90},[248,556,557,558,561],{},"A media's tags, with their confidence, are part of its ",[251,559,560],{},"embedding",", so tags also help search by meaning.",[248,563,564],{},"New descriptions use the tags already on a media as hints.",{"title":566,"searchDepth":567,"depth":567,"links":568},"",3,[569,571,572,576,577,578],{"id":271,"depth":570,"text":272},2,{"id":292,"depth":570,"text":293},{"id":356,"depth":570,"text":259,"children":573},[574,575],{"id":397,"depth":567,"text":398},{"id":418,"depth":567,"text":419},{"id":462,"depth":570,"text":463},{"id":506,"depth":570,"text":507},{"id":536,"depth":570,"text":537},"Regular and smart tags. How the classifier scores them, how thresholds and locks work, and renaming, merging and deleting.","md",{},true,{"title":85,"description":579},"Mrjbh1UOWMRY7FJkaA5daqRRQ-CDwLt-w5VfnRWh5q0",[586,588],{"title":81,"path":82,"stem":83,"description":587,"children":-1},"How Hubstruct's search works. Words, images and other media as queries, the signals it combines, Everything versus Look, and the command palette.",{"title":89,"path":90,"stem":91,"description":589,"children":-1},"Albums by hand and albums with rules. How rules match, similarity thresholds, previews, why a media is or isn't in, an album's own order, and its look.",1795744072673]