{"id":19663914,"url":"https://github.com/kiranism/chat-with-pdf","last_synced_at":"2025-04-28T21:33:03.395Z","repository":{"id":194171104,"uuid":"689380123","full_name":"Kiranism/chat-with-pdf","owner":"Kiranism","description":"ChatWithPDF is a cutting-edge platform that enhances PDF functionality. Users can upload PDFs, extract summaries, and get answers to questions. It features an attractive UI with shadcn and Tailwind CSS and employs advanced tech like Langchain and OpenAI models for chat completions and text embeddings. It's a powerful tool for document management","archived":false,"fork":false,"pushed_at":"2023-10-12T13:23:31.000Z","size":1537,"stargazers_count":36,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"drizzle","last_synced_at":"2025-04-05T11:23:08.360Z","etag":null,"topics":["langchain","nextjs13","openai","shadcn-ui","transformers","typescript","uploadthing"],"latest_commit_sha":null,"homepage":"https://chat-with-pdf7.vercel.app","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/Kiranism.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}},"created_at":"2023-09-09T16:11:49.000Z","updated_at":"2025-02-07T07:25:40.000Z","dependencies_parsed_at":"2023-09-12T05:41:45.384Z","dependency_job_id":"a6a00fc7-70a9-461b-b782-639f0be2df85","html_url":"https://github.com/Kiranism/chat-with-pdf","commit_stats":null,"previous_names":["kiranism/chat-with-pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kiranism%2Fchat-with-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kiranism%2Fchat-with-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kiranism%2Fchat-with-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kiranism%2Fchat-with-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kiranism","download_url":"https://codeload.github.com/Kiranism/chat-with-pdf/tar.gz/refs/heads/drizzle","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251391347,"owners_count":21582155,"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":["langchain","nextjs13","openai","shadcn-ui","transformers","typescript","uploadthing"],"created_at":"2024-11-11T16:16:00.603Z","updated_at":"2025-04-28T21:33:03.081Z","avatar_url":"https://github.com/Kiranism.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## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\n\n#playing with models\nopenai challenges =\u003e cant perform embedding because of free tier limit 3/min. to tackle this im gonna make the chunksize high and limit to 3 not good at all but to test its enough.\n\nchatgpt model using cosine and transformer im trying dot product and cosine for similarites.\nvector dimension of text-ada open ai model is 1536, so need to update pinecone db;\n\nBy using transformers i can use the \"Xenova/e5-large-v2\" model and its dimensions is 1024 so need to change the pinecone config.\n\npinecone migrated from 0 to 1v so things changes including namespace not available for free tier so need to use some filter across the meta data.\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%2Fkiranism%2Fchat-with-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiranism%2Fchat-with-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiranism%2Fchat-with-pdf/lists"}