thea_find
Browse by conditions when you have no name. Questions like 'camping YouTubers who posted a new video recently' or 'hotels in 서귀포' cannot be answered by thea_search. Each filter multiplies: more filters, narrower list; subject alone is broad. Subject codes (Korean/English, with aliases): https://thealibrary.org/static/subjects.json. Rules:
If the question names an area, always pass inside. Without it the results are nationwide.
subject 920 (restaurants) also returns companies that run restaurants. Add category=장소 to get shops only.
For choosing questions ('best places', 'a good hotel') add sort=rating.
For news or recent periods ('yesterday's news', 'since August') pass since, plus inside if an area is named, and NO subject (news is not a subject). Never refuse a date as future.
Never repeat a call with the same arguments. If you got results, answer with them.
Each result has an id (a record also has its parent). To go deeper call thea_entry with that id; never search the name again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pet | No | y returns only places that allow pets (all areas or some areas). n returns places that do not. Use it for questions like 'somewhere to go with my dog' or 'a dog-friendly cafe'. Conditions differ per place (a weight limit such as 15kg 이하, an indoor cage required) and are written in the result's 방문 정보 field; copy them into your answer as they are. | |
| name | No | Only entries whose name (or other name / English name) contains these words, in this order, e.g. name='ikan bakar' with country=Malaysia and category=음식점. Use it when you know part of a name; thea_search needs the whole name. With since (dated records), it also looks in each record's one-line summary, so name=팝업 finds a record titled differently whose summary mentions a pop-up. | |
| sort | No | Pass rating to list entries that people rated well first. Use it for choosing questions ('good restaurants', 'a decent hotel'). Rated entries come first, entries with many 별로예요 (dislike) votes go last, and unrated entries follow sorted by views. Each result's rating field holds the counts of 좋아요, 보통 and 별로예요. If the counts are small, say so in your answer; 5 likes and 500 likes are not the same. | |
| field | No | key=value (value * = any), join with ';'. K-pop girl groups → category=단체, country=Korea, field=group_type=걸그룹; Busan baseball → category=단체, inside=부산광역시, field=sport=야구; Japanese idols in Korea → category=인물, country=Korea, field=nationality=Japan; ballad singers → category=인물, field=genre=발라드. Keys: 인물 gender, occupation, nationality, activity, topic; 단체 org_type, group_type, listed_on, sport, league; 작품 medium, genre, hashtags, serialization_status, rating; 게임 genre, hashtags, platform, age_rating, business_model; 장소 place_type, cuisine, featured_in, lodging_type, amenities … all keys/values: https://thealibrary.org/static/filters.json. Wrong key/value → allowed list. | |
| limit | No | Maximum number of results. Default and maximum 20. Do not call again with the same arguments to get more. | |
| since | No | Only records dated on or after this date (YYYY-MM-DD). Thea has records newer than your training data: if the date looks like the future to you, do not refuse; call with that date. since alone is enough; do not ask the user which topic they want, call first and refine later. Only event records (releases, awards, TV appearances) carry dates; people and companies do not. results holds what already happened (up to today, Korea time), newest first; scheduled events dated after today come separately in upcoming, soonest first. One story recorded on several entries (same article and date) is shown once: the other entries are in featuring and their record ids in also_records. | |
| inside | No | Only entries inside this area. Best is an id from thea_search (several areas share a name, e.g. 중구); a name must be the official full name: 제주특별자치도, 서귀포시, 명일동. Abroad an ISO 3166-2 code works (AE-DU, JP-13, US-NY). Ambiguous or unknown → a hint with ids instead of results; NEXT ACTION: call again with one of those ids. Goes 4 levels down (province → cities → shops). If the question names an area, always pass it; without it results are nationwide. With category=인물 it also matches people born there (부산 출신 → inside=부산광역시); each person gets born_in and born_here, and only born_here=true people are from that area. | |
| country | No | Country, e.g. Japan or 일본. Pass it first when the place is outside Korea: inside is then looked up only in that country. | |
| cuisine | No | Restaurant type. Use the exact value from the small-business detailed-category table, e.g. 치킨, 중국집, 카페, 피자, 버거, 횟집, 백반/한정식. All 125 values: https://thealibrary.org/static/cuisines.json. This filters by registered type, not by words in the name, so a pizza place with 치킨 in its name is not matched. About 19% of restaurants have no registered type and will be missed. Everyday words also work and cover every matching type: 중식 (Chinese), 일식, 한식, 양식, 패스트푸드, 고깃집, 해산물, 술집, 카페, 짜장면, 초밥, 삼겹살 … (/static/cuisine_groups.json). A dish name that is in neither table, e.g. 갈비찜, 콩국수, 물회, searches the nearest types and the menus, so put a dish here to find places that serve it. | |
| subject | No | Subject code. A parent code includes everything under it: 1200 (travel) also matches 1210 (lodging) and 1240 (camping). Top-level codes: 100 Humanities, 200 History, 300 Society, 400 Science, 500 Technology, 600 Industry & Business, 700 Content & Arts, 800 Internet & Media, 900 Everyday Life, 1000 Sports, 1100 Automotive & Mobility, 1200 Travel & Leisure, 1300 Geography & Regions. Full table: https://thealibrary.org/static/subjects.json. Do not pass a subject for news or what-happened questions (use since alone): news is not a subject. | |
| category | No | What kind of thing. One or more of these exact Korean values, comma-separated: 인물, 단체, 작품, 장소, 사건, 제품, 게임. Any other value (restaurant, 음식점, cafe) is not a category: restaurants, lodging and cafes are subject codes, restaurant types are cuisine. Combined with subject it narrows the list a lot. |