{"id":13454135,"url":"https://github.com/togethercomputer/llamaindex-chatbot","last_synced_at":"2025-10-30T05:06:27.147Z","repository":{"id":219058340,"uuid":"748056428","full_name":"togethercomputer/llamaindex-chatbot","owner":"togethercomputer","description":"A RAG Chatbot with Next.js, Together.ai and Llama Index","archived":false,"fork":false,"pushed_at":"2024-10-17T22:28:29.000Z","size":409,"stargazers_count":70,"open_issues_count":4,"forks_count":18,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-12T01:47:06.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/togethercomputer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-01-25T07:18:57.000Z","updated_at":"2025-10-08T01:39:30.000Z","dependencies_parsed_at":"2024-10-28T21:46:07.078Z","dependency_job_id":null,"html_url":"https://github.com/togethercomputer/llamaindex-chatbot","commit_stats":null,"previous_names":["togethercomputer/llamaindex-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/togethercomputer/llamaindex-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/togethercomputer%2Fllamaindex-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/togethercomputer%2Fllamaindex-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/togethercomputer%2Fllamaindex-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/togethercomputer%2Fllamaindex-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/togethercomputer","download_url":"https://codeload.github.com/togethercomputer/llamaindex-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/togethercomputer%2Fllamaindex-chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281748716,"owners_count":26554822,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07-31T08:00:51.215Z","updated_at":"2025-10-30T05:06:27.131Z","avatar_url":"https://github.com/togethercomputer.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","AI"],"sub_categories":[],"readme":"# Open source AI RAG Chatbot\n\nThis is a [LlamaIndex](https://www.llamaindex.ai/) and [Together.ai](https://www.together.ai/) RAG chatbot using [Next.js](https://nextjs.org/) bootstrapped with [`create-llama`](https://github.com/run-llama/LlamaIndexTS/tree/main/packages/create-llama).\n\nIt's powered by Llama Index, Mixtral (through Together AI Inference) and Together Embeddings. It'll embed the PDF file in `data`, generate embeddings stored locally, then give you a RAG chatbot to ask questions to.\n\n## Getting Started\n\nCopy your `.example.env` file into a `.env` and replace the TOGETHER_API_KEY with your API key from [together.ai](https://www.together.ai).\n\n1. Install the dependencies.\n\n```\nnpm install\n```\n\n2. Generate the embeddings and store them locally in the `cache` folder. You can also provide a PDF in the `data` folder instead of the default one.\n\n```\nnpm run generate\n```\n\n3. Run the app and send messages to your chatbot. It will use context from the embeddings to answer questions.\n\n```\nnpm run dev\n```\n\n## Common Issues\n\n- Ensure your environment file is called `.env`\n- Specify a dummy `OPENAI_API_KEY` value in this `.env` to make sure it works (temporary hack, Llama index is patching this)\n\n## Learn More\n\nTo learn more about LlamaIndex and Together AI, take a look at the following resources:\n\n- [Together AI Documentation](https://docs.together.ai/docs) - learn about Together.ai (inference, finetuning, embeddings)\n- [LlamaIndex Documentation](https://docs.llamaindex.ai) - learn about LlamaIndex (Python features).\n- [LlamaIndexTS Documentation](https://ts.llamaindex.ai) - learn about LlamaIndex (Typescript features).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftogethercomputer%2Fllamaindex-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftogethercomputer%2Fllamaindex-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftogethercomputer%2Fllamaindex-chatbot/lists"}