Shoulder.dev Logo Shoulder.dev

Project Structure

CONTRIBUTING.md - This file contains guidelines for contributing to the project, including how to report bugs, submit pull requests, and other development best practices.
LICENSE - This file outlines the terms under which the project can be used, modified, and distributed.
api.Dockerfile and api.py - These files are related to creating and running the API server for the project. The Dockerfile defines the environment and dependencies for the API server, while the py file contains the Python code for the API.
bot.Dockerfile and bot.py - These files are related to creating and running a bot or automated script for the project. The Dockerfile defines the environment and dependencies for the bot, while the py file contains the Python code for the bot.
chains.py - This file contains code for creating and managing machine learning models or "chains" in the context of the project.
docker-compose.yml - This file defines the services and dependencies for the project, including the API server, bot, and other components, and how they should be configured and run together.
embedding_model - This directory contains machine learning models or "embeddings" that are used by the project.
env.example - This file provides an example of environment variables that can be set for the project.
front-end - This directory contains the front-end code for the project, including HTML, CSS, and JavaScript files.
README.md - This file provides an overview of the project, including its purpose, installation instructions, and usage information.
index.html - This file is the main HTML file for the project's front-end.
jsconfig.json - This file defines the JavaScript project configuration for the project.
package-lock.json and package.json - These files manage the project's dependencies and their versions.
postcss.config.js - This file defines the PostCSS configuration for the project.
public - This directory contains static files that are served publicly, such as images or CSS files.
vite.svg - This file is an SVG icon for the project's build tool, Vite.
src - This directory contains the source code for the project, including components, styles, and scripts.
App.svelte - This file is the main Svelte component for the project's front-end.
app.css - This file contains global CSS styles for the project.
assets - This directory contains static assets, such as images or fonts, that are used by the project.
lib - This directory contains reusable code or libraries for the project.
main.js - This file is the main JavaScript file for the project.
vite-env.d.ts - This file provides TypeScript definitions for the project's build tool, Vite.
svelte.config.js - This file defines the Svelte configuration for the project.
tailwind.config.js - This file defines the Tailwind CSS configuration for the project.
vite.config.js - This file defines the Vite configuration for the project.
front-end.Dockerfile - This file defines the environment and dependencies for building and running the front-end of the project.
images - This directory contains images or other media files used by the project.
datamodel.png - This file is a visual representation of the data model used by the project.
install_ollama.sh - This file is a shell script for installing Ollama, a machine learning library used by the project.
loader.Dockerfile and loader.py - These files are related to creating and running a data loader script for the project. The Dockerfile defines the environment and dependencies for the loader, while the py file contains the Python code for the loader.
pdf_bot.Dockerfile and pdf_bot.py - These files are related to creating and running a bot for generating PDF reports in the project.
pull_model.Dockerfile - This file defines the environment and dependencies for building and running a machine learning model in the project.
readme.md - This file provides additional documentation or instructions for specific components or scripts in the project.
requirements.txt - This file lists the required Python packages and their versions for the project.
running_on_wsl.md - This file provides instructions for running the project on Windows Subsystem for Linux (WSL).
utils.py - This file contains utility functions or scripts for the project.

Entrypoints

main.js (EntryPoint) - This file is the entry point for the application in the "/github.com/docker/genai-stack/" project. It sets up the Express server, initializes middleware, and handles various routes for different API endpoints. The main class in this file manages the server and its functionality.

Coming Soon: Learn Directly From VS Code

Dive into a world where learning and coding merge seamlessly, right within your favorite development environment!

Introducing the Shoulder.dev VS Code Extension, your gateway to mastering new skills without ever leaving Visual Studio Code. Imagine having the power to learn directly from your IDE, where every line of code you write not only builds your project but also your proficiency.

Clone Repository

After downloading, proceed to clone the repository to your local machine by executing the following command in your terminal:

git clone https://github.com/docker/genai-stack/

Now, you can open the repository in your preferred code editor to explore or modify the project.

Screenshots

Here is an example of the VS Code Extension

Explanation