Experiments with Threlte, a framework to use ThreeJS with SvelteKit.
Go to file
silentsilas 08b56e13f3
adjust system prompt, add a toast component, add more questions to ask
2024-09-22 03:14:28 -04:00
.vscode get poetry stuff workin 2024-05-29 18:33:13 -04:00
scripts rename pm2 config file, update system prompt 2024-09-22 01:45:20 -04:00
src adjust system prompt, add a toast component, add more questions to ask 2024-09-22 03:14:28 -04:00
static add a profile photo for chatbot, styling fixes, add button to reset session, load an epub instead of our github vector embeddings 2024-09-22 00:19:37 -04:00
.editorconfig init commit 2024-04-30 18:59:39 -04:00
.eslintignore init commit 2024-04-30 18:59:39 -04:00
.eslintrc.cjs init commit 2024-04-30 18:59:39 -04:00
.gitignore add deploy script 2024-09-22 01:32:24 -04:00
.npmrc init commit 2024-04-30 18:59:39 -04:00
.prettierignore init commit 2024-04-30 18:59:39 -04:00
.prettierrc init commit 2024-04-30 18:59:39 -04:00
.tool-versions get routing working, add index for poetry, list first 6 poems on index, let each take you to their page with the poem's content 2024-05-16 02:52:32 -04:00
LICENSE add fuzzy search and combine it with semantic search results, update readme, change license file extension 2024-06-10 20:51:35 -04:00
README.md add fuzzy search and combine it with semantic search results, update readme, change license file extension 2024-06-10 20:51:35 -04:00
package-lock.json add a profile photo for chatbot, styling fixes, add button to reset session, load an epub instead of our github vector embeddings 2024-09-22 00:19:37 -04:00
package.json add script to npm scripts 2024-09-22 01:33:42 -04:00
postcss.config.js add dependencies, add and setup tailwind, cleanup dir structure, test out loading data for a page 2024-04-30 21:18:11 -04:00
svelte.config.js update dependencies, add script to create RAG of a github repo, add API endpoint to query it, add chatbot page to interact with it 2024-09-21 22:01:29 -04:00
tailwind.config.js get poetry stuff workin 2024-05-29 18:33:13 -04:00
tsconfig.json init commit 2024-04-30 18:59:39 -04:00
vite.config.ts add dependencies, add and setup tailwind, cleanup dir structure, test out loading data for a page 2024-04-30 21:18:11 -04:00

README.md

Playground

Portfolio site of silentsilas.

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Generate Embeddings

To create vector embeddings for searching through Markdown posts, simply run:

npm run generate-embeddings

It will traverse through every *.md under src/posts/poetry and generate the embeddings. You would then place the embeddings.json in the src/lib/utils/poetry to let the site run semantic search queries against them.

License

This project is licensed under the MIT License. This means that you can do pretty much anything you want with this code as long as you include the original copyright and license notice in your project.

Content contained in the src/posts folder is under the CC BY-NC-SA-4.0 license. You're free to modify/distribute the posts contained in the src/posts folder so long as it's not for commercial purposes, you give attribution, and point out any modifications you've made.