This is pipeline code for accelerating solution accelerators
Project description
# Solution Accelerators for GenAI This repository contains platform code for accelerating development of GenAI solutions in Applied AI Engineering team
![alt text](resources/image.png)
# Structure
docs: This directory contains documentation, user guides, and any other resources that help you understand and use the GenAI solution accelerators effectively.
src: The source code for the GenAI solution accelerators is located here. This is where you’ll find the core codebase for the tools and frameworks provided in this repository.
data: This directory may contain sample data or data-related resources that can be used for testing and development.
tests: Test cases and resources related to testing the GenAI solution accelerators are stored in this directory.
scripts: Utility scripts or automation scripts that can assist in various tasks related to GenAI development and deployment.
examples: This directory may contain example projects, code snippets, or reference implementations that showcase how to use the provided solution accelerators effectively.
## Getting Started
To get started with the GenAI solution accelerators, follow the instructions in the documentation located in the docs directory. It will provide you with step-by-step guidance on how to set up your development environment and use the tools and frameworks provided in this repository.
## Contribution Guidelines
We welcome contributions from the GenAI community! If you’d like to contribute to this repository, please follow our [Contribution Guidelines](CONTRIBUTING.md) to ensure a smooth collaboration process.
## License
This repository is licensed under the [Apaache License](LICENSE). See the [LICENSE](LICENSE) file for details.
## Contact
If you have any questions or need assistance, feel free to reach out to the project maintainers or create an issue in this repository.
Happy GenAI development!
## Setting up To begin development you can use 2 different approaches: using Python Environment or using Docker. Below are instructions for each approach.
### Setting up Python Environment Make sure to install miniconda environment: ` cd ~/ mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 ~/miniconda3/bin/conda init bash ` After that just install the package in editable mode:
` pip install -e . `
### Setting up Docker If this is your first time, you probably don’t have Docker installed on VM. Execute the following commands: ` sudo apt update && sudo apt upgrade sudo apt install make sudo apt install docker.io sudo groupadd docker sudo usermod -aG docker $USER sudo chmod 777 /var/run/docker.sock `
### Setting up environment
` make build && make container `
If you want to remove it, execute:
` make clean `
### Copying resources
Make sure gcs_source_bucket field in llm.yaml is up to date with the latest extraction in use. Then run the copying python script: ` python gen_ai/copy_resources.py `
### Updating BigQuery table
It is currently set up that all the runs are logged into “uhg” dataset in “chertushkin-genai-sa” project. To change the project id - change bq_project_id field of llm.yaml file. If you receive an error in logging, check if the service account is added to BigQuery IAM of “chertushkin-genai-sa” project. Or whatever the project you specified in the config.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file platform_gen_ai-0.1.1.tar.gz
.
File metadata
- Download URL: platform_gen_ai-0.1.1.tar.gz
- Upload date:
- Size: 29.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d17f6daac416e1c9716d54bae92a8f8d20298a377bb3c3f5e1683beccfa62aad |
|
MD5 | 58088e8d7f31dd738f9b84c345c1cf47 |
|
BLAKE2b-256 | e707f4601757aa880eb916f92f37f10d7d6197a7014d511249992a3c0b8a3511 |
File details
Details for the file platform_gen_ai-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: platform_gen_ai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b6d8bbfa8dd7e1f331219db398595dde3fb477246c14b317ded0d724e94196 |
|
MD5 | df3b41ac90de00b3a7de0ddc50e2512b |
|
BLAKE2b-256 | c3d44175eda8ea0785d31c898e3eb8c4bac0832d3b5133146e7cab19122f82ea |