server-inference push dbpedia_medium

This commit is contained in:
2026-04-25 20:27:11 -07:00
parent 1f294e306f
commit b895fcb783
3 changed files with 174 additions and 0 deletions

127
config.json Normal file
View File

@@ -0,0 +1,127 @@
{
"model": null,
"signature": {
"description": "Classify the Wikipedia article excerpt into both the top-level (L1) and second-level (L2) DBpedia ontology categories.\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.",
"properties": {
"text": {
"__dspy_field_type": "input",
"desc": "Wikipedia article excerpt to classify.",
"prefix": "Text:",
"title": "Text",
"type": "string"
},
"reasoning": {
"__dspy_field_type": "output",
"desc": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant.",
"prefix": "Reasoning:",
"title": "Reasoning",
"type": "string"
},
"l1_class": {
"__dspy_field_type": "output",
"desc": "Top-level DBpedia ontology category. One of: Agent, Device, Event, Place, Species, SportsSeason, TopicalConcept, UnitOfWork, Work.",
"enum": [
"Agent",
"Device",
"Event",
"Place",
"Species",
"SportsSeason",
"TopicalConcept",
"UnitOfWork",
"Work"
],
"prefix": "L 1 Class:",
"title": "L1 Class",
"type": "string"
},
"l2_class": {
"__dspy_field_type": "output",
"desc": "Second-level DBpedia ontology subcategory (must be a valid subcategory of the chosen L1).",
"enum": [
"Actor",
"AmusementParkAttraction",
"Animal",
"Artist",
"Athlete",
"BodyOfWater",
"Boxer",
"BritishRoyalty",
"Broadcaster",
"Building",
"Cartoon",
"CelestialBody",
"Cleric",
"ClericalAdministrativeRegion",
"Coach",
"Comic",
"ComicsCharacter",
"Company",
"Database",
"EducationalInstitution",
"Engine",
"Eukaryote",
"FictionalCharacter",
"FloweringPlant",
"FootballLeagueSeason",
"Genre",
"GridironFootballPlayer",
"Group",
"Horse",
"Infrastructure",
"LegalCase",
"MotorcycleRider",
"MusicalArtist",
"MusicalWork",
"NaturalEvent",
"NaturalPlace",
"Olympics",
"Organisation",
"OrganisationMember",
"PeriodicalLiterature",
"Person",
"Plant",
"Politician",
"Presenter",
"Race",
"RaceTrack",
"RacingDriver",
"RouteOfTransportation",
"Satellite",
"Scientist",
"Settlement",
"SocietalEvent",
"Software",
"Song",
"SportFacility",
"SportsEvent",
"SportsLeague",
"SportsManager",
"SportsTeam",
"SportsTeamSeason",
"Station",
"Stream",
"Tournament",
"Tower",
"Venue",
"VolleyballPlayer",
"WinterSportPlayer",
"Wrestler",
"Writer",
"WrittenWork"
],
"prefix": "L 2 Class:",
"title": "L2 Class",
"type": "string"
}
},
"required": [
"text",
"reasoning",
"l1_class",
"l2_class"
],
"title": "DBPediaMediumJudgeSig",
"type": "object"
}
}