A Nextjs + Pinecone + OpenAI GPT site to surface answers to Shopify help center content
**This is a research demo. Support is not provided.
Quickly surface answers from Shopify's help center using GPT.
tasks/1-sitemap-to-csv.js
to convert Shopify's Help Center Sitemap.xml into CSV and drop all columns except urls.tasks/2-scrape.js
to scrape the article text from every link using ScrapingBee and isnert text into Mongodb using url as unique index.tasks/3-generate-embeddings.js
to generate OpenAI embeddings and upsert into Pinecone.Created this as a research experiment in order to learn OpenAI embeddings + Pinecone. Added bonus was to have a way to quickly surface answers for my Shopify platform questions.