https://github.com/cloudsteak/ai-basics
Basic AI codes and prompts
https://github.com/cloudsteak/ai-basics
Last synced: about 1 year ago
JSON representation
Basic AI codes and prompts
- Host: GitHub
- URL: https://github.com/cloudsteak/ai-basics
- Owner: cloudsteak
- License: mit
- Created: 2024-03-12T12:23:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T13:07:12.000Z (over 2 years ago)
- Last Synced: 2024-03-12T14:31:00.767Z (over 2 years ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic AI codes and prompts
## Table of contents
- [Topics](#topics)
- [Install mini-conda](#install-mini-conda)
- [Prepare](#prepare)
- [Export requirements](#export-requirements)
- [Deactivate virtual environment](#deactivate-virtual-environment)
## Topics
- Prompt Enginering
- [101 - Generate Code Snippets with LLMs](./prompt-engineering/101-generate-code-snippets-with-llm/readme.md)
## Install mini-conda
Quick installation guide for miniconda can be found [here](https://docs.anaconda.com/free/miniconda/#quick-command-line-install)
## Prepare
1. Create virtual environment
I use mini-conda to create a virtual environment. You can use any other tool you like.
```bash
conda create --prefix ./.venv python=3.11 -y
conda activate ./.venv
```
2. Install required packages
```bash
pip3 install -r requirements.txt
```
## Export requirements
```bash
pip3 freeze > requirements.txt
```
## Deactivate virtual environment
```bash
conda deactivate
```