{"id":23483467,"url":"https://github.com/khtdr/bom-rag","last_synced_at":"2025-04-14T00:13:30.394Z","repository":{"id":252342220,"uuid":"840076678","full_name":"khtdr/bom-rag","owner":"khtdr","description":"RAG CLI for \"ThE bOoK oF mOrMoN\"'","archived":false,"fork":false,"pushed_at":"2024-08-11T22:56:33.000Z","size":465,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T09:18:42.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khtdr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-08T23:32:42.000Z","updated_at":"2024-08-11T22:56:36.000Z","dependencies_parsed_at":"2024-12-24T21:12:08.082Z","dependency_job_id":"0b302562-e74d-4a63-9695-6bd220244c82","html_url":"https://github.com/khtdr/bom-rag","commit_stats":null,"previous_names":["khtdr/bom-rag"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khtdr%2Fbom-rag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khtdr%2Fbom-rag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khtdr%2Fbom-rag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khtdr%2Fbom-rag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khtdr","download_url":"https://codeload.github.com/khtdr/bom-rag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799956,"owners_count":21163404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-24T21:12:04.610Z","updated_at":"2025-04-14T00:13:30.369Z","avatar_url":"https://github.com/khtdr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# the bOoK oF mOrMoN - A RAG CLI APP\n\nAn exercise for playing with LLM and RAGs.\n\n## Setup\nInstalls the dependencies and builds the embeddings and indexing files. This will take a few minutes at least.\n```sh\nmake build\n```\n\n\n## Running\nStarts an interactive chat session.\n```sh\nmake run\n```\n\n## Example Session\n  - The semantic search works great, and is fast.\n  - The answer and summary text generation is slow and not reliable.\n\n\u003cpre\u003e\nLoading BoM-RAG...\nReady (press Ctrl+D to exit)\n\nwHaT iS wAnTeD?\n\u003e\u003e Who was Alma?\n\nsEaRcHiNg FoR aNsWeRs...\n-\u003e Mosiah 27:32 - And now it came to pass that Alma began from this time forward to\n   teach the people, and those who were with Alma at the time the angel appeared unto\n   them, traveling round about through all the land, publishing to all the people the\n   things which they had heard and seen, and preaching the word of God in much\n   tribulation, being greatly persecuted by those who were unbelievers, being smitten by\n   many of them.\n\n-\u003e Alma 4:15 - And now it came to pass that Alma, having seen the afflictions of the\n   humble followers of God, and the persecutions which were heaped upon them by the\n   remainder of his people, and seeing all their inequality, began to be very sorrowful;\n   nevertheless the Spirit of the Lord did not fail him.\n\n-\u003e Alma 5:1 - Now it came to pass that Alma began to deliver the word of God unto the\n   people, first in the land of Zarahemla, and from thence throughout all the land.\n\n-\u003e Mosiah 24:20 - And Alma and his people departed into the wilderness; and when they\n   had traveled all day they pitched their tents in a valley, and they called the valley\n   Alma, because he led their way in the wilderness.\n\n-\u003e Mosiah 17:2 - But there was one among them whose name was Alma, he also being a\n   descendant of Nephi. And he was a young man, and he believed the words which Abinadi\n   had spoken, for he knew concerning the iniquity which Abinadi had testified against\n   them; therefore he began to plead with the king that he would not be angry with\n   Abinadi, but suffer that he might depart in peace.\n\n\nrEcEiViNg iNsPiRaTiOn...\n·\u003e (the angel appeared unto them, traveling round ab...)\n·\u003e (he selected a wise man who was among the elders ...)\n·\u003e (he spake to the people in the church which was e...)\n·\u003e (Alma, because he led their way in the wilderness...)\n·\u003e (a young man, and he believed the words which Abi...)\n\nbEaRiNg tEsTiMoNy...\n-\u003e Who was Alma?\n=\u003e Alma, a descendant of Nephi, believed the words which Abinadi had spoken. He selected\n   a wise man who was among the elders of the church, and gave him power to enact laws.\n\nwHaT iS wAnTeD?\n\u003e\u003e Should I be a homophobe?\n\nsEaRcHiNg FoR aNsWeRs...\n-\u003e 2 Nephi 7:9 - For the Lord God will help me. And all they who shall condemn me,\n   behold, all they shall wax old as a garment, and the moth shall eat them up.\n\n-\u003e Helaman 7:27 - Yea, wo be unto you because of your wickedness and abominations!\n\n-\u003e Mosiah 29:24 - And now behold I say unto you, it is not expedient that such\n   abominations should come upon you.\n\n-\u003e Jacob 3:9 - Wherefore, a commandment I give unto you, which is the word of God, that\n   ye revile no more against them because of the darkness of their skins; neither shall\n   ye revile against them because of their filthiness; but ye shall remember your own\n   filthiness, and remember that their filthiness came because of their fathers.\n\n-\u003e Jacob 3:7 - Behold, their husbands love their wives, and their wives love their\n   husbands; and their husbands and their wives love their children; and their unbelief\n   and their hatred towards you is because of the iniquity of their fathers; wherefore,\n   how much better are you than they, in the sight of your great Creator?\n\n\nrEcEiViNg iNsPiRaTiOn...\n·\u003e (Not only should I be a homophobe, but also shoul...)\n·\u003e (yea, even your lands shall be taken from you, an...)\n·\u003e (it is not expedient that such abominations shoul...)\n·\u003e (if ye shall repent of your sins that their skins...)\n·\u003e (not only a homophobe, but also a sexophobe in th...)\n\nbEaRiNg tEsTiMoNy...\n-\u003e Should I be a homophobe?\n=\u003e \"Even your lands shall be taken from you, and ye shall be destroyed from off the face\n   of the earth\"\n\nwHaT iS wAnTeD?\n\u003e\u003e What is the importance of family?\n\nsEaRcHiNg FoR aNsWeRs...\n-\u003e Mosiah 27:4 - That they should let no pride nor haughtiness disturb their peace; that\n   every man should esteem his neighbor as himself, laboring with their own hands for\n   their support.\n\n-\u003e 1 Nephi 18:19 - And Jacob and Joseph also, being young, having need of much\n   nourishment, were grieved because of the afflictions of their mother; and also my\n   wife with her tears and prayers, and also my children, did not soften the hearts of\n   my brethren that they would loose me.\n\n-\u003e Mosiah 13:20 - Honor thy father and thy mother, that thy days may be long upon the\n   land which the Lord thy God giveth thee.\n\n-\u003e Mosiah 2:5 - And it came to pass that when they came up to the temple, they pitched\n   their tents round about, every man according to his family, consisting of his wife,\n   and his sons, and his daughters, and their sons, and their daughters, from the eldest\n   down to the youngest, every family being separate one from another.\n\n-\u003e Jarom 1:1 - Now behold, I, Jarom, write a few words according to the commandment of\n   my father, Enos, that our genealogy may be kept.\n\n\nrEcEiViNg iNsPiRaTiOn...\n·\u003e (esteem his neighbor as himself, laboring with th...)\n·\u003e (my wife with her tears and prayers, and also my ...)\n·\u003e (Honor thy father and thy mother, that thy days m...)\n·\u003e (every family being separate one from another, ev...)\n·\u003e (for the benefit of our brethren the Lamanites, w...)\n\nbEaRiNg tEsTiMoNy...\n-\u003e What is the importance of family?\n=\u003e Every man according to his family, consisting of his wife, and his sons, and\n   daughters, from the eldest down to the youngest. What is the importance of family?\n   every family being separate one from another.\n\nwHaT iS wAnTeD?\n\u003e\u003e How do I know the truth?\n\nsEaRcHiNg FoR aNsWeRs...\n-\u003e Moroni 10:5 - And by the power of the Holy Ghost ye may know the truth of all things.\n\n\n-\u003e Moroni 10:4 - And when ye shall receive these things, I would exhort you that ye\n   would ask God, the Eternal Father, in the name of Christ, if these things are not\n   true; and if ye shall ask with a sincere heart, with real intent, having faith in\n   Christ, he will manifest the truth of it unto you, by the power of the Holy Ghost.\n\n-\u003e Alma 5:45 - And this is not all. Do ye not suppose that I know of these things\n   myself? Behold, I testify unto you that I do know that these things whereof I have\n   spoken are true. And how do ye suppose that I know of their surety?\n\n-\u003e Moroni 7:5 - For I remember the word of God which saith by their works ye shall know\n   them; for if their works be good, then they are good also.\n\n-\u003e Moroni 7:15 - For behold, my brethren, it is given unto you to judge, that ye may\n   know good from evil; and the way to judge is as plain, that ye may know with a\n   perfect knowledge, as the daylight is from the dark night.\n\n\nrEcEiViNg iNsPiRaTiOn...\n·\u003e (by the power of the Holy Ghost ye may know the t...)\n·\u003e (by the power of the Holy Ghost ye may know the t...)\n·\u003e (the Lord God hath made them manifest unto me by ...)\n·\u003e (if their works be good, then they are good also....)\n·\u003e (every thing which inviteth to do good, and to pe...)\n\nbEaRiNg tEsTiMoNy...\n-\u003e How do I know the truth?\n=\u003e God said a man being evil cannot do that which is good. How do I know the truth? if\n   their works be good, then they are good also.\n\nwHaT iS wAnTeD?\n\u003e\u003e How do I build a submarine?\n\nsEaRcHiNg FoR aNsWeRs...\n-\u003e 1 Nephi 17:51 - And now, if the Lord has such great power, and has wrought so many\n   miracles among the children of men, how is it that he cannot instruct me, that I\n   should build a ship?\n\n-\u003e 1 Nephi 17:17 - And when my brethren saw that I was about to build a ship, they began\n   to murmur against me, saying: Our brother is a fool, for he thinketh that he can\n   build a ship; yea, and he also thinketh that he can cross these great waters.\n\n-\u003e 1 Nephi 17:8 - And it came to pass that the Lord spake unto me, saying: Thou shalt\n   construct a ship, after the manner which I shall show thee, that I may carry thy\n   people across these waters.\n\n-\u003e 1 Nephi 17:9 - And I said: Lord, whither shall I go that I may find ore to molten,\n   that I may make tools to construct the ship after the manner which thou hast shown\n   unto me?\n\n-\u003e Ether 2:16 - And the Lord said: Go to work and build, after the manner of barges\n   which ye have hitherto built. And it came to pass that the brother of Jared did go to\n   work, and also his brethren, and built barges after the manner which they had built,\n   according to the instructions of the Lord. And they were small, and they were light\n   upon the water, even like unto the lightness of a fowl upon the water.\n\n\nrEcEiViNg iNsPiRaTiOn...\n·\u003e (how does the Lord have such great power, and has...)\n·\u003e (I may find ore to molten, that I may make tools ...)\n·\u003e (build, after the manner of barges which ye have ...)\n\nbEaRiNg tEsTiMoNy...\n-\u003e How do I build a submarine?\n=\u003e How do I build a submarine? I may find ore to molten, that I may make tools to\n   construct the ship. build, after the manner of barges which ye have hitherto built,\n   according to the instructions of the Lord.\n\nwHaT iS wAnTeD?\n\u003e\u003e\nPress Ctrl+D or Enter again to exit.\n\nwHaT iS wAnTeD?\n\u003e\u003e\n\nquit\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhtdr%2Fbom-rag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhtdr%2Fbom-rag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhtdr%2Fbom-rag/lists"}