# Solution Accelerators for GenAI This repository contains platform code for accelerating development of GenAI solutions in Applied AI Engineering team

# 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.
Metadata
Release files for platform-gen-ai 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| platform_gen_ai-0.1.1.tar.gz | 29.7 kB | Without provenance | Details for platform_gen_ai-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| platform_gen_ai-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for platform_gen_ai-0.1.1-py3-none-any.whl |
Total release size: 57.8 kB
Release files / platform_gen_ai-0.1.1.tar.gz
| Download URL | platform_gen_ai-0.1.1.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d17f6daac416e1c9716d54bae92a8f8d20298a377bb3c3f5e1683beccfa62aad
|
|
BLAKE2b-256 checksum How to use checksums |
e707f4601757aa880eb916f92f37f10d7d6197a7014d511249992a3c0b8a3511
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / platform_gen_ai-0.1.1-py3-none-any.whl
| Download URL | platform_gen_ai-0.1.1-py3-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41b6d8bbfa8dd7e1f331219db398595dde3fb477246c14b317ded0d724e94196
|
|
BLAKE2b-256 checksum How to use checksums |
c3d44175eda8ea0785d31c898e3eb8c4bac0832d3b5133146e7cab19122f82ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Security for platform-gen-ai 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.