Creating skills and knowledge YAML files Red Hat Enterprise Linux AI 1.3 Guidelines on creating skills and knowledge YAML files Red Hat RHEL AI Documentation Team

Commands:
taxonomy/knowledge/technical_documents/product_customer_cases/qna.yaml
ilab taxonomy diff
knowledge/technical_documents/product_customer_cases/qna.yaml Taxonomy in /taxonomy/ is valid :)
9:15 error syntax error: mapping values are not allowed here (syntax) Reading taxonomy failed with the following error: 1 taxonomy with errors! Exiting.
version: 3 1 domain: astronomy 2 created_by: <user-name> 3 seed_examples: - context: | 4 **Phoenix** is a minor constellation in the southern sky. Named after the mythical Phoenix_(mythology), it was first depicted on a celestial atlas by Johann Bayerin his 1603 Uranometria. The French explorer and astronomer Nicolas Louis de Lacaille charted the brighter stars and gave their Bayer designations in 1756. The constellation stretches from roughly −39 degrees to −57 degrees declination, and from 23.5h to 2.5h of right ascension. The constellations Phoenix, Grus, Pavo and Tucana are known as the Southern Birds. questions_and_answers: - question: | 5 What is the Phoenix constellation? answer: | 6 Phoenix is a minor constellation in the southern sky. - question: | Who charted the Phoenix constellation? answer: | The Phoenix constellation was charted by french explorer and astronomer Nicolas Louis de Lacaille. - question: | How far does the Phoenix constellation stretch? answer: | The phoenix constellation stretches from roughly −39deg to −57deg declination, and from 23.5h to 2.5h of right ascension. - context: | Phoenix was the largest of the 12 constellations established by Petrus Plancius from the observations of Pieter Dirkszoon Keyser and Frederick de Houtman. It first appeared on a 35cm diameter celestial globe published in 1597 (or 1598) in Amsterdam by Plancius with Jodocus Hondius. The first depiction of this constellation in a celestial atlas was in Johann Bayer *Uranometria* of 1603. De Houtman included it in his southern star catalog the same year under the Dutch name *Den voghel Fenicx*, "The Bird Phoenix", symbolising the phoenix of classical mythology. One name of the brightest star Alpha Phoenicis-Ankaa-is derived from the Arabic: ?l`nq??, romanized: al-'anqa', lit. 'the phoenix', and was coined sometime after 1800 in relation to the constellation. questions_and_answers: - question: | What is the brightest star in the Phoenix constellation called? answer: | Alpha Phoenicis or Ankaa is the brightest star in the Phoenix Constellation. - question: Where did the Phoenix constellation first appear? answer: | The Phoenix constellation first appeared on a 35-cm diameter celestial globe published in 1597 (or 1598) in Amsterdam by Plancius with Jodocus Hondius. - question: | What does "The Bird Phoenix" symbolize? answer: | "The Bird Phoenix" symbolizes the phoenix of classical mythology. - context: | Phoenix is a small constellation bordered by Fornax and Sculptor to the north, Grus to the west, Tucana to the south, touching on the corner of Hydrus to the south, and Eridanus to the east and southeast. The bright star Achernar is nearby. The three-letter abbreviation for the constellation, as adopted by the International Astronomical Union in 1922, is "Phe". The official constellation boundaries, as set by Belgian astronomer Eugene Delporte in 1930, are defined by a polygon of 10 segments. In the equatorial coordinate system, the right ascension coordinates of these borders lie between 23<sup>h</sup> 26.5<sup>m</sup> and 02<sup>h</sup> 25.0<sup>m</sup>, while the declination coordinates are between −39.31deg and −57.84deg. This means it remains below the horizon to anyone living north of the 40th parallel in the Northern Hemisphere, and remains low in the sky for anyone living north of the equator. It is most visible from locations such as Australia and South Africa during late Southern Hemisphere spring. Most of the constellation lies within, and can be located by, forming a triangle of the bright stars Achernar, Fomalhaut and Beta Ceti-Ankaa lies roughly in the centre of this. questions_and_answers: - question: What are the characteristics of the Phoenix constellation? answer: | Phoenix is a small constellation bordered by Fornax and Sculptor to the north, Grus to the west, Tucana to the south, touching on the corner of Hydrus to the south, and Eridanus to the east and southeast. The bright star Achernar is nearby. - question: | When is the phoenix constellation most visible? answer: | Phoenix is most visible from locations such as Australia and South Africa during late Southern Hemisphere spring. - question: | What are the Phoenix Constellation boundaries? answer: | The official constellation boundaries for Phoenix, as set by Belgian astronomer Eugene Delporte in 1930, are defined by a polygon of 10 segments. - context: | Ten stars have been found to have planets to date, and four planetary systems have been discovered with the SuperWASP project. HD 142 is a yellow giant that has an apparent magnitude of 5.7, and has a planet (HD 142b) 1.36 times the mass of Jupiter which orbits every 328 days. HD 2039 is a yellow subgiant with an apparent magnitude of 9.0 around 330 light years away which has a planet (HD 2039) six times the mass of Jupiter. WASP-18 is a star of magnitude 9.29 which was discovered to have a hot Jupiter-like planet (WASP-18b) taking less than a day to orbit the star. The planet is suspected to be causing WASP-18 to appear older than it really is. WASP-4and WASP-5 are solar-type yellow stars around 1000 light years distant and of 13th magnitude, each with a single planet larger than Jupiter. WASP-29 is an orange dwarf of spectral type K4V and visual magnitude 11.3, which has a planetary companion of similar size and mass to Saturn. The planet completes an orbit every 3.9 days. questions_and_answers: - question: In the Phoenix constellation, how many stars have planets? answer: | In the Phoenix constellation, ten stars have been found to have planets to date, and four planetary systems have been discovered with the SuperWASP project. - question: | What is HD 142? answer: | HD 142 is a yellow giant that has an apparent magnitude of 5.7, and has a planet (HD 142 b) 1.36 times the mass of Jupiter which orbits every 328 days. - question: | Are WASP-4 and WASP-5 solar-type yellow stars? answer: | Yes, WASP-4 and WASP-5 are solar-type yellow stars around 1000 light years distant and of 13th magnitude, each with a single planet larger than Jupiter. - context: | The constellation does not lie on the galactic plane of the Milky Way, and there are no prominent star clusters. NGC 625 is a dwarf irregular galaxy of apparent magnitude 11.0 and lying some 12.7 million light years distant. Only 24000 light years in diameter, it is an outlying member of the Sculptor Group. NGC 625 is thought to have been involved in a collision and is experiencing a burst of active star formation. NGC 37 is a lenticular galaxy of apparent magnitude 14.66. It is approximately 42 kiloparsecs 137,000 light-years in diameter and about 12.9 billion years old. Robert's Quartet composed of the irregular galaxy NGC 87, and three spiral galaxies NGC 88, NGC 89 and NGC 92 is a group of four galaxies located around 160 million light-years away which are in the process of colliding and merging. They are within a circle of radius of 1.6 arcmin, corresponding to about 75,000 light-years. Located in the galaxy ESO 243-49 is HLX-1, an intermediate-mass black hole-the first one of its kind identified. It is thought to be a remnant of a dwarf galaxy that was absorbed in a collision with ESO 243-49. Before its discovery, this class of black hole was only hypothesized. questions_and_answers: - question: | Is the Phoenix Constellation part of the Milky Way? answer: | The Phoenix constellation does not lie on the galactic plane of the Milky Way, and there are no prominent star clusters. - question: | How many light years away is NGC 625? answer: | NGC 625 is 24000 light years in diameter and is an outlying member of the Sculptor Group. - question: | What is Robert's Quartet composed of? answer: | Robert's Quartet is composed of the irregular galaxy NGC 87, and three spiral galaxies NGC 88, NGC 89 and NGC 92. document_outline: | 7 Information about the Phoenix Constellation including the history, characteristics, and features of the stars in the constellation. document: repo: https://github.com/<profile>/<repo-name> / 8 commit: <commit hash> 9 patterns: - phoenix_constellation.md 10
Phoenix (constellation) **Phoenix** is a minor constellation in the southern sky. Named after the mythical phoenix, it was first depicted on a celestial atlas by Johann Bayer in his 1603 *Uranometria*. The French explorer and astronomer Nicolas Louis de Lacaille charted the brighter stars and gave their Bayer designations in 1756. The constellation stretches from roughly −39 degrees to −57 degrees declination, and from 23.5h to 2.5h of right ascension. The constellations Phoenix, Grus , Pavo and Tucana, are known as the Southern Birds. The brightest star, Alpha Phoenicis, is named Ankaa, an Arabic word meaning 'the Phoenix'. It is an orange giant of apparent magnitude 2.4. Next is Beta Phoenicis, actually a binary system composed of two yellow giants with a combined apparent magnitude of 3.3. Nu Phoenicis has a dust disk, while the constellation has ten star systems with known planets and the recently discovered galaxy clusters El Gordo and the Phoenix Cluster-located 7.2 and 5.7 billion light years away respectively, two of the largest objects in the visible universe. Phoenix is the radiant of two annual meteor showers: the Phoenicids in December, and the July Phoenicids. ## History Phoenix was the largest of the 12 constellations established by Petrus Plancius from the observations of Pieter Dirkszoon Keyser and Frederick de Houtman. It first appeared on a 35-cm diameter celestial globe published in 1597 (or 1598) in Amsterdam by Plancius with Jodocus Hondius. The first depiction of this constellation in a celestial atlas was in Johann Bayer's*Uranometria* of 1603. De Houtman included it in his southern star catalog the same year under the Dutch name *Den voghel Fenicx*, "The Bird Phoenix", symbolizing the phoenix of classical mythology. One name of the brightest star Alpha Phoenicis-Ankaa-is derived from the Arabic: ?l`nq??, romanized: al-'anqa', lit. 'the phoenix', and was coined sometime after 1800 in relation to the constellation. Celestial historian Richard Allen noted that unlike the other constellations introduced by Plancius and La Caille, Phoenix has actual precedent in ancient astronomy, as the Arabs saw this formation as representing young ostriches, *Al Ri'al*, or as a griffin or eagle. In addition, the same group of stars was sometimes imagined by the Arabs as a boat, *Al Zaurak*, on the nearby river Eridanus. He observed, "the introduction of a Phoenix into modern astronomy was, in a measure, by adoption rather than by invention." The Chinese incorporated Phoenix's brightest star, Ankaa (Alpha Phoenicis), and stars from the adjacent constellation Sculptor to depict *Bakui*, a net for catching birds. Phoenix and the neighboring constellation of Grus together were seen by Julius Schiller as portraying Aaron the High Priest. These two constellations, along with nearby Pavo and Tucana, are called the Southern Birds. ## Characteristics Phoenix is a small constellation bordered by Fornax and Sculptor to the north, Grus to the west, Tucana to the south, touching on the corner of Hydrus to the south, and Eridanus to the east and southeast. The bright star Achernar is nearby. The three-letter abbreviation for the constellation, as adopted by the International Astronomical Union in 1922, is "Phe". The official constellation boundaries, as set by Belgian astronomer Eugene Delporte in 1930, are defined by a polygon of 10 segments. In the equatorial coordinate system, the right ascension coordinates of these borders lie between 23<sup>h</sup> 26.5<sup>m</sup> and 02<sup>h</sup> 25.0<sup>m</sup>, while the declination coordinates are between −39.31deg and −57.84deg. This means it remains below the horizon to anyone living north of the 40th parallel in the Northern Hemisphere, and remains low in the sky for anyone living north of the equator. It is most visible from locations such as Australia and South Africa during late Southern Hemisphere spring. Most of the constellation lies within, and can be located by, forming a triangle of the bright stars Achernar, Fomalhaut and Beta Ceti-Ankaa lies roughly in the centre of this.
Title of work: Phoenix (constellation) Link to work: https://en.wikipedia.org/wiki/Phoenix_(constellation) Revision: https://en.wikipedia.org/w/index.php?title=Phoenix_(constellation)&oldid=1237187773 License of the work: CC-BY-SA-4.0 Creator names: Wikipedia Authors
taxonomy/compositional_skills/grounded/<add_example>/qna.yaml
ilab taxonomy diff
compositional_skills/writing/freeform/<example>/qna.yaml Taxonomy in /taxonomy/ is valid :)
6:11 error syntax error: mapping values are not allowed here (syntax) Reading taxonomy failed with the following error: 1 taxonomy with errors! Exiting.
version: 2 1 created_by: <user-name> 2 task_description: 'Teach the model how to rhyme.' 3 seed_examples: - question: What are 5 words that rhyme with horn? 4 answer: warn, torn, born, thorn, and corn. 5 - question: What are 5 words that rhyme with cat? answer: bat, gnat, rat, vat, and mat. - question: What are 5 words that rhyme with poor? answer: door, shore, core, bore, and tore. - question: What are 5 words that rhyme with bank? answer: tank, rank, prank, sank, and drank. - question: What are 5 words that rhyme with bake? answer: wake, lake, steak, make, and quake.
version: 2 1 created_by: <user-name> 2 task_description: | 3 Given a context document and a user's question, determine whether you have enough information to provide a yes-or-no answer to the user's question. seed_examples: - context: | 4 Document: All regular employees except those on a leave of absence (LOA) must file Form XYZ. If you are a regular employee on a LOA, you do not need to file the form. If you are a supplemental employee (type B1, type B2, or type B3), your employee type determines which form you must file, as follows: * If you are a type B1 employee, you must follow the same rules that apply to the regular employees. * If you are a type B2 employee, the rules that apply to you are different from those that apply to the regular employees. See Pub. 31416 to find out which forms you should file. * If you are a supplemental employee of neither type B1 nor type B2, you are a type B3 employee. Different rules apply for each part of the year. For information on type B3 employees, see Pub. 31416. question: | 5 User asks the following question: "I am a supplemental employee of type B1 on a LOA. Should I file Form XYZ?" As the responding agent, do you have enough information to provide a yes-or-no answer to the user's question? Answer Yes or No, then explain your answer. answer: | 6 Yes, I have enough information to provide a yes-or-no answer to the user's question. Specifically, the answer to the user's question is "no". Indeed, the user is a supplemental employee of type B1 and is on a LOA. According to the document, supplemental employees of type B1 must follow the same rules that apply to the regular employees, and a regular employee on a LOA does not need to file Form XYZ. Hence, the user does not need to file Form XYZ. I reached this conclusion using only the information available in the document and in the user's question. - context: | Document: All regular employees except those on a leave of absence (LOA) must file Form XYZ. If you are a regular employee on a LOA, you do not need to file the form. If you are a supplemental employee (type B1, type B2, or type B3), your employee type determines which form you must file, as follows: * If you are a type B1 employee, you must follow the same rules that apply to the regular employees. * If you are a type B2 employee, the rules that apply to you are different from those that apply to the regular employees. See Pub. 31416 to find out which forms you should file. * If you are a supplemental employee of neither type B1 nor type B2, you are a type B3 employee. Different rules apply for each part of the year. For information on type B3 employees, see Pub. 31416. question: | User asks the following question: "I am a supplemental employee of type B1, not on a LOA. Should I file Form XYZ?" As the responding agent, do you have enough information to provide a yes-or-no answer to the user's question? Answer Yes or No, then explain your answer. answer: | Yes, I have enough information to provide a yes-or-no answer to the user's question. Specifically, the answer to the user's question is "yes". Indeed, the user is a supplemental employee of type B1 and is not on a LOA. According to the document, supplemental employees of type B1 must follow the same rules that apply to the regular employees, and all regular employees except those on a LOA must file Form XYZ. Hence, the user must file Form XYZ. I reached this conclusion using only the information available in the document and in the user's question. - context: | Document: The Helping Hands Program enables the employees of XYZ Technologies to support nonprofit organizations within the communities where the employees live and work. All active, regular employees of XYZ Technologies are eligible to participate in the program. The following categories are ineligible to participate in the program: * Retirees who no longer work at XYZ Technologies * XYZ employees on a leave of absence * Supplemental employees and contractors who are not regular XYZ employees Please note that XYZ employees on a leave of absence can participate in the Helping Hands Program once they return to an active status. question: | User asks the following question: "I am an active, regular employee of XYZ Technologies. I am not on a leave of absence. Can I participate in the Helping Hands Program?" As the responding agent, do you have enough information to provide a yes-or-no answer to the user's question? Answer Yes or No, then explain your answer. answer: | Yes, I have enough information to provide a yes-or-no answer to the user's question. Specifically, the answer to the user's question is "yes". Indeed, the user is an active, regular employee of XYZ Technologies. According to the document, all active, regular employees of XYZ Technologies are eligible to participate in the Helping Hands Program. The document excludes retirees, XYZ employees on a leave of absence, and those who are not regular XYZ employees; however, the user is an active and regular employee who is not on a leave of absence, so the exclusions do not apply. Therefore, the user can participate in the Helping Hands Program. I reached this conclusion using only the information available in the document and in the user's question. - context: | Document: Applying for a driver's license is as easy as 1-2-3! You can apply for a driver's license if you bring documents from each of the three sections below: Section 1. Proof of Identity - one document is required from the list below: * Unexpired passport * Birth certificate * Certificate of naturalization or citizenship * Valid, unexpired Permanent Resident Card Section 2. Proof of Social Security Number - one document is required from the list below: * Social Security card * W-2 form * SSA-1099 form * Paystub Section 3. Proof of Residency - two different documents are required from the list below: * Home utility bill * Medical document * Proof of car registration * Proof of employment * Proof of insurance * Mortgage bill * Lease agreement * Tax return question: | User asks the following question: "Can I apply for a driver's license if I bring my birth certificate, my W-2 form, and my proof of car registration?" As the responding agent, do you have enough information to provide a yes-or-no answer to the user's question? Answer Yes or No, then explain your answer. answer: | Yes, I have enough information to provide a yes-or-no answer to the user's question. Specifically, the answer to the user's question is "no". Indeed, the user wants to bring a birth certificate, a W-2 form, and a proof of car registration. According to the context document, to apply for a driver's license, the user must bring one proof of Identity, one proof of Social Security Number, and two different proof of Residency documents. A birth certificate is one proof of Identity, a W-2 form is one proof of Social Security Number, and a proof of car registration is one proof of Residency document. The user cannot apply for a driver's license without bringing a second proof of Residency document. I reached this conclusion using only the information available in the context document and in the user's question. - context: | Document: XYZ Corporation released three models of phones in 2024: Model MX, Model MY, and Model MZ. Model MX is the budget-conscious choice, it has 6-inch screen, a single rear camera, and 32 GB of storage. Model MY is the most portable choice, with a 5-inch screen, a dual rear camera, and 32 GB of storage. Model MZ is the luxury choice, sporting a 7-inch screen, a dual rear camera, and 64 GB of storage. These three models are the only ones available for sale in our store. question: | User asks the following question: "Does your store sell a phone made by XYZ Corporation that has a 6-inch screen and a dual rear camera?" As the responding agent, do you have enough information to provide a yes-or-no answer to the user's question? Answer Yes or No, then explain your answer. answer: | Yes, I have enough information to provide a yes-or-no answer to the user's question. Specifically, the answer to the user's question is "no". Indeed, the user is looking for a phone made by XYZ Corporation that has a 6-inch screen and a dual rear camera. According to the document, our store sells only three models of phones made by XYZ Corporation: Model MX, Model MY, and Model MZ. Only Model MX has a 6-inch screen, but it has a single rear camera; models MY and MZ do not have a 6-inch screen. Hence, our store does not sell a phone the user is looking for. I reached this conclusion using only the information available in the document and in the user's question. - context: | Document: Solar System Overview The solar system has one star, eight planets, five dwarf planets, at least 290 moons, more than 1.3 million asteroids, and about 3,900 comets. It is located in an outer spiral arm of the Milky Way galaxy called the Orion Arm, or Orion Spur. Our solar system orbits the center of the galaxy at about 515,000 mph (828,000 kph). It takes about 230 million years to complete one orbit around the galactic center. We call it the solar system because it is made up of our star, the Sun, and everything bound to it by gravity - the planets Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune; dwarf planets Pluto, Ceres, Makemake, Haumea, and Eris - along with hundreds of moons; and millions of asteroids, comets, and meteoroids. question: | User asks the following question: "Does the solar system have two stars?" As the responding agent, do you have enough information to provide a yes-or-no answer to the user's question? Answer Yes or No, then explain your answer. answer: | Yes, I have enough information to provide a yes-or-no answer to the user's question. Specifically, the answer to the user's question is "no". According to the document, the solar system has only one star - the Sun, not two stars. I reached this conclusion using only the information available in the document and in the user's question.