├── .env.local.example ├── .eslintrc.json ├── .gitignore ├── .prettierignore ├── .prettierrc ├── README.md ├── degreegurucrawler ├── .gitignore ├── Dockerfile ├── degreegurucrawler │ ├── __init__.py │ ├── items.py │ ├── middlewares.py │ ├── pipelines.py │ ├── settings.py │ ├── spiders │ │ ├── __init__.py │ │ └── configurable.py │ └── utils │ │ ├── config.py │ │ ├── crawler.yaml │ │ └── upstash_vector_store.py ├── docker-compose.yml ├── requirements.txt └── scrapy.cfg ├── figs ├── how-this-project-works.png ├── infrastructure.png ├── overview.gif ├── overview.png ├── redis-create.png ├── vector-db-create.png ├── vector-db-read-only.png └── vector-db.png ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── icon-user.png ├── next.svg └── vercel.svg ├── src ├── app │ ├── api │ │ └── guru │ │ │ └── route.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ └── vectorstore │ │ ├── UpstashVectorStore.d.ts │ │ └── UpstashVectorStore.js ├── components │ ├── form.tsx │ ├── message-loading.tsx │ ├── message.tsx │ ├── powered-by.tsx │ └── upstash-logo.tsx └── utils │ ├── const.ts │ └── cx.ts ├── tailwind.config.ts └── tsconfig.json /.env.local.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/.env.local.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | degreegurucrawler 3 | figs 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/README.md -------------------------------------------------------------------------------- /degreegurucrawler/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | __pycache__ 3 | degreegurudb -------------------------------------------------------------------------------- /degreegurucrawler/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/Dockerfile -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/items.py -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/middlewares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/middlewares.py -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/pipelines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/pipelines.py -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/settings.py -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/spiders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/spiders/__init__.py -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/spiders/configurable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/spiders/configurable.py -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/utils/config.py -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/utils/crawler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/utils/crawler.yaml -------------------------------------------------------------------------------- /degreegurucrawler/degreegurucrawler/utils/upstash_vector_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/degreegurucrawler/utils/upstash_vector_store.py -------------------------------------------------------------------------------- /degreegurucrawler/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/docker-compose.yml -------------------------------------------------------------------------------- /degreegurucrawler/requirements.txt: -------------------------------------------------------------------------------- 1 | upstash_vector 2 | scrapy==2.11.0 3 | langchain==0.1.0 4 | openai==1.7.2 -------------------------------------------------------------------------------- /degreegurucrawler/scrapy.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/degreegurucrawler/scrapy.cfg -------------------------------------------------------------------------------- /figs/how-this-project-works.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/figs/how-this-project-works.png -------------------------------------------------------------------------------- /figs/infrastructure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/figs/infrastructure.png -------------------------------------------------------------------------------- /figs/overview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/figs/overview.gif -------------------------------------------------------------------------------- /figs/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/figs/overview.png -------------------------------------------------------------------------------- /figs/redis-create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/figs/redis-create.png -------------------------------------------------------------------------------- /figs/vector-db-create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/figs/vector-db-create.png -------------------------------------------------------------------------------- /figs/vector-db-read-only.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/figs/vector-db-read-only.png -------------------------------------------------------------------------------- /figs/vector-db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/figs/vector-db.png -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/icon-user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/public/icon-user.png -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/app/api/guru/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/app/api/guru/route.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/vectorstore/UpstashVectorStore.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/app/vectorstore/UpstashVectorStore.d.ts -------------------------------------------------------------------------------- /src/app/vectorstore/UpstashVectorStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/app/vectorstore/UpstashVectorStore.js -------------------------------------------------------------------------------- /src/components/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/components/form.tsx -------------------------------------------------------------------------------- /src/components/message-loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/components/message-loading.tsx -------------------------------------------------------------------------------- /src/components/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/components/message.tsx -------------------------------------------------------------------------------- /src/components/powered-by.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/components/powered-by.tsx -------------------------------------------------------------------------------- /src/components/upstash-logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/components/upstash-logo.tsx -------------------------------------------------------------------------------- /src/utils/const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/utils/const.ts -------------------------------------------------------------------------------- /src/utils/cx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/src/utils/cx.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upstash/degree-guru/HEAD/tsconfig.json --------------------------------------------------------------------------------