From 00c23855b180f9f84a7032d40054b8fcf661e86e Mon Sep 17 00:00:00 2001 From: Eric Ciarla Date: Tue, 11 Jun 2024 11:46:35 -0400 Subject: [PATCH] Update examples --- .../{k8n => kubernetes-cluster-install}/README.md | 0 .../{k8n => kubernetes-cluster-install}/api.yaml | 0 .../configmap.yaml | 0 .../playwright-service.yaml | 0 .../{k8n => kubernetes-cluster-install}/redis.yaml | 0 .../{k8n => kubernetes-cluster-install}/secret.yaml | 0 .../{k8n => kubernetes-cluster-install}/worker.yaml | 0 .../.eslintrc.json | 0 .../.gitignore | 0 .../README.md | 0 .../components.json | 0 .../next.config.mjs | 0 .../package-lock.json | 0 .../package.json | 0 .../postcss.config.mjs | 0 .../public/android-chrome-192x192.png | Bin .../public/android-chrome-512x512.png | Bin .../public/apple-touch-icon.png | Bin .../public/bgd.png | Bin .../public/favicon-16x16.png | Bin .../public/favicon-32x32.png | Bin .../public/favicon.ico | Bin .../public/next.svg | 0 .../public/og.png | Bin .../public/site.webmanifest | 0 .../public/vercel.svg | 0 .../src/app/favicon.ico | Bin .../src/app/globals.css | 0 .../src/app/hooks/useGithubStars.ts | 0 .../src/app/layout.tsx | 0 .../src/app/page.tsx | 0 .../src/components/github-button.tsx | 0 .../src/components/main.tsx | 0 .../src/components/ui/button.tsx | 0 .../src/components/ui/dialog.tsx | 0 .../src/components/ui/dropdown-menu.tsx | 0 .../src/components/ui/input.tsx | 0 .../src/components/ui/select.tsx | 0 .../src/components/ui/sonner.tsx | 0 .../src/components/ui/switch.tsx | 0 .../src/components/ui/textarea.tsx | 0 .../src/lib/LLM/llm.ts | 2 +- .../src/lib/LLM/testing_constants.ts | 0 .../src/lib/utils.ts | 0 .../src/pages/api/roastWebsite.ts | 0 .../tailwind.config.ts | 0 .../tsconfig.json | 0 ...rag-llama3.mdx => web-data-rag--with-llama3.mdx} | 0 48 files changed, 1 insertion(+), 1 deletion(-) rename examples/{k8n => kubernetes-cluster-install}/README.md (100%) rename examples/{k8n => kubernetes-cluster-install}/api.yaml (100%) rename examples/{k8n => kubernetes-cluster-install}/configmap.yaml (100%) rename examples/{k8n => kubernetes-cluster-install}/playwright-service.yaml (100%) rename examples/{k8n => kubernetes-cluster-install}/redis.yaml (100%) rename examples/{k8n => kubernetes-cluster-install}/secret.yaml (100%) rename examples/{k8n => kubernetes-cluster-install}/worker.yaml (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/.eslintrc.json (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/.gitignore (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/README.md (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/components.json (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/next.config.mjs (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/package-lock.json (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/package.json (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/postcss.config.mjs (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/android-chrome-192x192.png (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/android-chrome-512x512.png (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/apple-touch-icon.png (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/bgd.png (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/favicon-16x16.png (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/favicon-32x32.png (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/favicon.ico (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/next.svg (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/og.png (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/site.webmanifest (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/public/vercel.svg (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/app/favicon.ico (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/app/globals.css (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/app/hooks/useGithubStars.ts (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/app/layout.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/app/page.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/github-button.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/main.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/ui/button.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/ui/dialog.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/ui/dropdown-menu.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/ui/input.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/ui/select.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/ui/sonner.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/ui/switch.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/components/ui/textarea.tsx (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/lib/LLM/llm.ts (98%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/lib/LLM/testing_constants.ts (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/lib/utils.ts (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/src/pages/api/roastWebsite.ts (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/tailwind.config.ts (100%) rename examples/{roastmywebsite => roastmywebsite-example-app}/tsconfig.json (100%) rename examples/{rag-llama3.mdx => web-data-rag--with-llama3.mdx} (100%) diff --git a/examples/k8n/README.md b/examples/kubernetes-cluster-install/README.md similarity index 100% rename from examples/k8n/README.md rename to examples/kubernetes-cluster-install/README.md diff --git a/examples/k8n/api.yaml b/examples/kubernetes-cluster-install/api.yaml similarity index 100% rename from examples/k8n/api.yaml rename to examples/kubernetes-cluster-install/api.yaml diff --git a/examples/k8n/configmap.yaml b/examples/kubernetes-cluster-install/configmap.yaml similarity index 100% rename from examples/k8n/configmap.yaml rename to examples/kubernetes-cluster-install/configmap.yaml diff --git a/examples/k8n/playwright-service.yaml b/examples/kubernetes-cluster-install/playwright-service.yaml similarity index 100% rename from examples/k8n/playwright-service.yaml rename to examples/kubernetes-cluster-install/playwright-service.yaml diff --git a/examples/k8n/redis.yaml b/examples/kubernetes-cluster-install/redis.yaml similarity index 100% rename from examples/k8n/redis.yaml rename to examples/kubernetes-cluster-install/redis.yaml diff --git a/examples/k8n/secret.yaml b/examples/kubernetes-cluster-install/secret.yaml similarity index 100% rename from examples/k8n/secret.yaml rename to examples/kubernetes-cluster-install/secret.yaml diff --git a/examples/k8n/worker.yaml b/examples/kubernetes-cluster-install/worker.yaml similarity index 100% rename from examples/k8n/worker.yaml rename to examples/kubernetes-cluster-install/worker.yaml diff --git a/examples/roastmywebsite/.eslintrc.json b/examples/roastmywebsite-example-app/.eslintrc.json similarity index 100% rename from examples/roastmywebsite/.eslintrc.json rename to examples/roastmywebsite-example-app/.eslintrc.json diff --git a/examples/roastmywebsite/.gitignore b/examples/roastmywebsite-example-app/.gitignore similarity index 100% rename from examples/roastmywebsite/.gitignore rename to examples/roastmywebsite-example-app/.gitignore diff --git a/examples/roastmywebsite/README.md b/examples/roastmywebsite-example-app/README.md similarity index 100% rename from examples/roastmywebsite/README.md rename to examples/roastmywebsite-example-app/README.md diff --git a/examples/roastmywebsite/components.json b/examples/roastmywebsite-example-app/components.json similarity index 100% rename from examples/roastmywebsite/components.json rename to examples/roastmywebsite-example-app/components.json diff --git a/examples/roastmywebsite/next.config.mjs b/examples/roastmywebsite-example-app/next.config.mjs similarity index 100% rename from examples/roastmywebsite/next.config.mjs rename to examples/roastmywebsite-example-app/next.config.mjs diff --git a/examples/roastmywebsite/package-lock.json b/examples/roastmywebsite-example-app/package-lock.json similarity index 100% rename from examples/roastmywebsite/package-lock.json rename to examples/roastmywebsite-example-app/package-lock.json diff --git a/examples/roastmywebsite/package.json b/examples/roastmywebsite-example-app/package.json similarity index 100% rename from examples/roastmywebsite/package.json rename to examples/roastmywebsite-example-app/package.json diff --git a/examples/roastmywebsite/postcss.config.mjs b/examples/roastmywebsite-example-app/postcss.config.mjs similarity index 100% rename from examples/roastmywebsite/postcss.config.mjs rename to examples/roastmywebsite-example-app/postcss.config.mjs diff --git a/examples/roastmywebsite/public/android-chrome-192x192.png b/examples/roastmywebsite-example-app/public/android-chrome-192x192.png similarity index 100% rename from examples/roastmywebsite/public/android-chrome-192x192.png rename to examples/roastmywebsite-example-app/public/android-chrome-192x192.png diff --git a/examples/roastmywebsite/public/android-chrome-512x512.png b/examples/roastmywebsite-example-app/public/android-chrome-512x512.png similarity index 100% rename from examples/roastmywebsite/public/android-chrome-512x512.png rename to examples/roastmywebsite-example-app/public/android-chrome-512x512.png diff --git a/examples/roastmywebsite/public/apple-touch-icon.png b/examples/roastmywebsite-example-app/public/apple-touch-icon.png similarity index 100% rename from examples/roastmywebsite/public/apple-touch-icon.png rename to examples/roastmywebsite-example-app/public/apple-touch-icon.png diff --git a/examples/roastmywebsite/public/bgd.png b/examples/roastmywebsite-example-app/public/bgd.png similarity index 100% rename from examples/roastmywebsite/public/bgd.png rename to examples/roastmywebsite-example-app/public/bgd.png diff --git a/examples/roastmywebsite/public/favicon-16x16.png b/examples/roastmywebsite-example-app/public/favicon-16x16.png similarity index 100% rename from examples/roastmywebsite/public/favicon-16x16.png rename to examples/roastmywebsite-example-app/public/favicon-16x16.png diff --git a/examples/roastmywebsite/public/favicon-32x32.png b/examples/roastmywebsite-example-app/public/favicon-32x32.png similarity index 100% rename from examples/roastmywebsite/public/favicon-32x32.png rename to examples/roastmywebsite-example-app/public/favicon-32x32.png diff --git a/examples/roastmywebsite/public/favicon.ico b/examples/roastmywebsite-example-app/public/favicon.ico similarity index 100% rename from examples/roastmywebsite/public/favicon.ico rename to examples/roastmywebsite-example-app/public/favicon.ico diff --git a/examples/roastmywebsite/public/next.svg b/examples/roastmywebsite-example-app/public/next.svg similarity index 100% rename from examples/roastmywebsite/public/next.svg rename to examples/roastmywebsite-example-app/public/next.svg diff --git a/examples/roastmywebsite/public/og.png b/examples/roastmywebsite-example-app/public/og.png similarity index 100% rename from examples/roastmywebsite/public/og.png rename to examples/roastmywebsite-example-app/public/og.png diff --git a/examples/roastmywebsite/public/site.webmanifest b/examples/roastmywebsite-example-app/public/site.webmanifest similarity index 100% rename from examples/roastmywebsite/public/site.webmanifest rename to examples/roastmywebsite-example-app/public/site.webmanifest diff --git a/examples/roastmywebsite/public/vercel.svg b/examples/roastmywebsite-example-app/public/vercel.svg similarity index 100% rename from examples/roastmywebsite/public/vercel.svg rename to examples/roastmywebsite-example-app/public/vercel.svg diff --git a/examples/roastmywebsite/src/app/favicon.ico b/examples/roastmywebsite-example-app/src/app/favicon.ico similarity index 100% rename from examples/roastmywebsite/src/app/favicon.ico rename to examples/roastmywebsite-example-app/src/app/favicon.ico diff --git a/examples/roastmywebsite/src/app/globals.css b/examples/roastmywebsite-example-app/src/app/globals.css similarity index 100% rename from examples/roastmywebsite/src/app/globals.css rename to examples/roastmywebsite-example-app/src/app/globals.css diff --git a/examples/roastmywebsite/src/app/hooks/useGithubStars.ts b/examples/roastmywebsite-example-app/src/app/hooks/useGithubStars.ts similarity index 100% rename from examples/roastmywebsite/src/app/hooks/useGithubStars.ts rename to examples/roastmywebsite-example-app/src/app/hooks/useGithubStars.ts diff --git a/examples/roastmywebsite/src/app/layout.tsx b/examples/roastmywebsite-example-app/src/app/layout.tsx similarity index 100% rename from examples/roastmywebsite/src/app/layout.tsx rename to examples/roastmywebsite-example-app/src/app/layout.tsx diff --git a/examples/roastmywebsite/src/app/page.tsx b/examples/roastmywebsite-example-app/src/app/page.tsx similarity index 100% rename from examples/roastmywebsite/src/app/page.tsx rename to examples/roastmywebsite-example-app/src/app/page.tsx diff --git a/examples/roastmywebsite/src/components/github-button.tsx b/examples/roastmywebsite-example-app/src/components/github-button.tsx similarity index 100% rename from examples/roastmywebsite/src/components/github-button.tsx rename to examples/roastmywebsite-example-app/src/components/github-button.tsx diff --git a/examples/roastmywebsite/src/components/main.tsx b/examples/roastmywebsite-example-app/src/components/main.tsx similarity index 100% rename from examples/roastmywebsite/src/components/main.tsx rename to examples/roastmywebsite-example-app/src/components/main.tsx diff --git a/examples/roastmywebsite/src/components/ui/button.tsx b/examples/roastmywebsite-example-app/src/components/ui/button.tsx similarity index 100% rename from examples/roastmywebsite/src/components/ui/button.tsx rename to examples/roastmywebsite-example-app/src/components/ui/button.tsx diff --git a/examples/roastmywebsite/src/components/ui/dialog.tsx b/examples/roastmywebsite-example-app/src/components/ui/dialog.tsx similarity index 100% rename from examples/roastmywebsite/src/components/ui/dialog.tsx rename to examples/roastmywebsite-example-app/src/components/ui/dialog.tsx diff --git a/examples/roastmywebsite/src/components/ui/dropdown-menu.tsx b/examples/roastmywebsite-example-app/src/components/ui/dropdown-menu.tsx similarity index 100% rename from examples/roastmywebsite/src/components/ui/dropdown-menu.tsx rename to examples/roastmywebsite-example-app/src/components/ui/dropdown-menu.tsx diff --git a/examples/roastmywebsite/src/components/ui/input.tsx b/examples/roastmywebsite-example-app/src/components/ui/input.tsx similarity index 100% rename from examples/roastmywebsite/src/components/ui/input.tsx rename to examples/roastmywebsite-example-app/src/components/ui/input.tsx diff --git a/examples/roastmywebsite/src/components/ui/select.tsx b/examples/roastmywebsite-example-app/src/components/ui/select.tsx similarity index 100% rename from examples/roastmywebsite/src/components/ui/select.tsx rename to examples/roastmywebsite-example-app/src/components/ui/select.tsx diff --git a/examples/roastmywebsite/src/components/ui/sonner.tsx b/examples/roastmywebsite-example-app/src/components/ui/sonner.tsx similarity index 100% rename from examples/roastmywebsite/src/components/ui/sonner.tsx rename to examples/roastmywebsite-example-app/src/components/ui/sonner.tsx diff --git a/examples/roastmywebsite/src/components/ui/switch.tsx b/examples/roastmywebsite-example-app/src/components/ui/switch.tsx similarity index 100% rename from examples/roastmywebsite/src/components/ui/switch.tsx rename to examples/roastmywebsite-example-app/src/components/ui/switch.tsx diff --git a/examples/roastmywebsite/src/components/ui/textarea.tsx b/examples/roastmywebsite-example-app/src/components/ui/textarea.tsx similarity index 100% rename from examples/roastmywebsite/src/components/ui/textarea.tsx rename to examples/roastmywebsite-example-app/src/components/ui/textarea.tsx diff --git a/examples/roastmywebsite/src/lib/LLM/llm.ts b/examples/roastmywebsite-example-app/src/lib/LLM/llm.ts similarity index 98% rename from examples/roastmywebsite/src/lib/LLM/llm.ts rename to examples/roastmywebsite-example-app/src/lib/LLM/llm.ts index 39dcf10..1d290a3 100644 --- a/examples/roastmywebsite/src/lib/LLM/llm.ts +++ b/examples/roastmywebsite-example-app/src/lib/LLM/llm.ts @@ -1,4 +1,4 @@ -import OpenAI from "openai"; +import OpenAI from "openai/index.mjs"; import { encoding_for_model } from "@dqbd/tiktoken"; /** diff --git a/examples/roastmywebsite/src/lib/LLM/testing_constants.ts b/examples/roastmywebsite-example-app/src/lib/LLM/testing_constants.ts similarity index 100% rename from examples/roastmywebsite/src/lib/LLM/testing_constants.ts rename to examples/roastmywebsite-example-app/src/lib/LLM/testing_constants.ts diff --git a/examples/roastmywebsite/src/lib/utils.ts b/examples/roastmywebsite-example-app/src/lib/utils.ts similarity index 100% rename from examples/roastmywebsite/src/lib/utils.ts rename to examples/roastmywebsite-example-app/src/lib/utils.ts diff --git a/examples/roastmywebsite/src/pages/api/roastWebsite.ts b/examples/roastmywebsite-example-app/src/pages/api/roastWebsite.ts similarity index 100% rename from examples/roastmywebsite/src/pages/api/roastWebsite.ts rename to examples/roastmywebsite-example-app/src/pages/api/roastWebsite.ts diff --git a/examples/roastmywebsite/tailwind.config.ts b/examples/roastmywebsite-example-app/tailwind.config.ts similarity index 100% rename from examples/roastmywebsite/tailwind.config.ts rename to examples/roastmywebsite-example-app/tailwind.config.ts diff --git a/examples/roastmywebsite/tsconfig.json b/examples/roastmywebsite-example-app/tsconfig.json similarity index 100% rename from examples/roastmywebsite/tsconfig.json rename to examples/roastmywebsite-example-app/tsconfig.json diff --git a/examples/rag-llama3.mdx b/examples/web-data-rag--with-llama3.mdx similarity index 100% rename from examples/rag-llama3.mdx rename to examples/web-data-rag--with-llama3.mdx