{"id":17442804,"url":"https://github.com/ariya/pico-jarvis","last_synced_at":"2025-04-30T06:26:23.053Z","repository":{"id":198376447,"uuid":"700688081","full_name":"ariya/pico-jarvis","owner":"ariya","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-07T03:05:42.000Z","size":4444,"stargazers_count":52,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T01:07:55.232Z","etag":null,"topics":["chatbot","gpt","llama","llama2","mistral","nlp","openai"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ariya.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":"2023-10-05T05:13:31.000Z","updated_at":"2024-07-25T16:20:41.961Z","dependencies_parsed_at":null,"dependency_job_id":"1bd745f3-d6fa-439e-bece-b4676f03b0c5","html_url":"https://github.com/ariya/pico-jarvis","commit_stats":null,"previous_names":["ariya/pico-jarvis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariya%2Fpico-jarvis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariya%2Fpico-jarvis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariya%2Fpico-jarvis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariya%2Fpico-jarvis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ariya","download_url":"https://codeload.github.com/ariya/pico-jarvis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233074099,"owners_count":18621069,"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":["chatbot","gpt","llama","llama2","mistral","nlp","openai"],"created_at":"2024-10-17T16:33:42.054Z","updated_at":"2025-01-08T17:50:57.511Z","avatar_url":"https://github.com/ariya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pico Jarvis\n\n![Screenshot](screenshot.png)\n\nThis repository contains the source code for the Retrieval-augmented Generation (RAG) technique, as described in the following articles:\n\n* [Part 1: Getting started, Chain of Thought](https://www.linkedin.com/pulse/pico-jarvis-llm-based-chatbot-demo-rag-part-1-ariya-hidayat-pcygc/)\n* [Part 2: Reason-Act, multi-turn conversation](https://www.linkedin.com/pulse/pico-jarvis-llm-based-chatbot-demo-rag-part-2-ariya-hidayat-plynf/)\n* [Part 3: PDF ingestion, vector search](https://www.linkedin.com/pulse/pico-jarvis-llm-based-chatbot-demo-rag-part-3-ariya-hidayat-zchec)\n* [Bonus: RAG with SLM (Small Language Model)](https://www.linkedin.com/pulse/phi-2-rag-emergence-small-language-model-slm-ariya-hidayat-2w6ac)\n\nFirst, you need to run the [API server](https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md) of [llama.cpp](https://github.com/ggerganov/llama.cpp) with [Phi 2](https://huggingface.co/TheBloke/phi-2-GGUF):\n\n```\n./server -m /path/to/phi-2.Q4_K_M.gguf\n```\n\n(For a slower response but with improved accuracy, consider using [Mistral 7B OpenOrca](https://huggingface.co/TheBloke/Mistral-7B-OpenOrca-GGUF)).\n\nTo launch Pico Jarvis, you need [Node.js](https://nodejs.org/) v18 or later:\n```\nnpm install\nnpm start\n```\n\nand then open `localhost:5000`.\n\nAsk the following questions:\n\n* Who wrote the Canon of Medicine?\n* Is ramen typically eaten in Egypt?\n* Who directed the Dark Knight movie?\n* Name Indonesia #1 tourist destination!\n\n\u003cdetails\u003e\n\u003csummary\u003e(and some more to try)\u003c/summary\u003e\n\n* What is the native language of Mr. Spock?\n* Which US state starts with G?\n* What is the atomic number of Magnesium?\n* Where do we find kangoroo?\n* Who is the father of Luke Skywalker?\n* In which country Mandarin is spoken?\n* What is the longest river in Latin America?\n* Who authored the special theory of relativity?\n* Which fictional metal is infused into Wolverine body?\n* Who sailed with the flagship Santa Maria?\n* Name the big desert close to Mongolia\n* Which is closer to Singapor: Vietnam or Australia?\n* Who is the fictional spy 007?\n* Which country is known for IKEA?\n\n\u003c/details\u003e\n\nMeanwhile, questions related the solar system will be answered by searching the PDF document:\n\n* What is a dwarf planet?\n* Which planet known as the red one?\n* What materials compose the gas giants?\n* How about the ice giants?\n* Explain the heliopause\n* When did Voyager 2 enter the interstellar space?\n* How about Voyager 1?\n\nIf you get an API key for [OpenWeatherMap](https://api.openweathermap.org) and supply it as `OPENWEATHERMAP_API_KEY` environment variable, try to ask the following:\n\n* How is the weather in Jakarta?\n* What is the current temperature in Palo Alto?\n* Is it currently cloudy in Seattle?\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariya%2Fpico-jarvis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fariya%2Fpico-jarvis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariya%2Fpico-jarvis/lists"}