{"id":14964769,"url":"https://github.com/dylancl/nextjs-sag-llm","last_synced_at":"2025-08-25T00:31:57.576Z","repository":{"id":231483413,"uuid":"781857175","full_name":"dylancl/nextjs-sag-llm","owner":"dylancl","description":"A small Next.js app which utilises search results to feed context to the LLM.","archived":false,"fork":false,"pushed_at":"2024-04-04T07:30:10.000Z","size":166,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T00:52:25.517Z","etag":null,"topics":["llama","llamacpp","llm","modelfusion","rag","sag","typescript"],"latest_commit_sha":null,"homepage":"","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/dylancl.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}},"created_at":"2024-04-04T07:08:19.000Z","updated_at":"2024-10-09T07:34:27.000Z","dependencies_parsed_at":"2024-04-04T08:30:14.385Z","dependency_job_id":"64098ca1-be44-49cb-a805-105ba32a82b8","html_url":"https://github.com/dylancl/nextjs-sag-llm","commit_stats":null,"previous_names":["dylancl/nextjs-sag-llm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylancl%2Fnextjs-sag-llm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylancl%2Fnextjs-sag-llm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylancl%2Fnextjs-sag-llm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylancl%2Fnextjs-sag-llm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylancl","download_url":"https://codeload.github.com/dylancl/nextjs-sag-llm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230712642,"owners_count":18269217,"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":["llama","llamacpp","llm","modelfusion","rag","sag","typescript"],"created_at":"2024-09-24T13:33:45.174Z","updated_at":"2024-12-22T15:53:24.511Z","avatar_url":"https://github.com/dylancl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n\n\nhttps://github.com/dylancl/nextjs-sag-llm/assets/14956708/0e88993d-d9e9-471c-bdf0-ac9a25e995c7\n\n\n\n## Getting Started\n\n### Llama.cpp\n\nFirst, start a server for the LLM:\n\n```bash\n./server -m models/Hermes-2-Pro-Mistral-7B.Q4_K_S.gguf -c 12000\n```\n\nThen, start a server for the embedding model (on a different port, in this case `8081`):\n\n```bash\n./server -m models/nomic-embed-text-v1.Q5_K_S.gguf -c 8192 --embedding --port 8081\n```\n\n### Next.js\n\nRun the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.\n\nThis project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylancl%2Fnextjs-sag-llm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylancl%2Fnextjs-sag-llm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylancl%2Fnextjs-sag-llm/lists"}