Tech stack Next.js Clerk auth drizzleORM + neonDB Stripe AWS S3
AI Tech stack PineconeDB Langchain OpenAI Vercel AI SDK
New concepts Edge runtime Retrieval augmented generation
- obtain the pdf
- split tand segment the pdf
- vectorise and embed individual documents
- store tge vectors into pineconedb
-------search------- 5. embed the query 6. query the pineconedb for similar vectors 7. extacr out the metadata 8. feed metadata into openai prompt