- at 4:55 uses github action that analyse commits and creates versions
- github.com/EddieHubCommunity/LinkFree/blob/main/.github/workflows/release.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from matplotlib.animation import FuncAnimation | |
from PIL import Image | |
def create_plot(i): | |
plt.clf() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git-cliff ~ default configuration file | |
# https://git-cliff.org/docs/configuration | |
# | |
# Lines starting with "#" are comments. | |
# Configuration options are organized into tables and keys. | |
# See documentation for more information on available options. | |
[changelog] | |
# template for the changelog footer | |
header = """ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Requires the following environment variables (you can use it as .env_template): | |
COMPLETION_DEPLOYMENT_NAME= | |
EMBEDDING_DEPLOYMENT_NAME= | |
AZURE_OPENAI_API_KEY= | |
AZURE_OPENAI_ENDPOINT= | |
AZURE_OPENAI_API_VERSION= | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Smoke test for the Azure OpenAI model from langchain_openai. | |
Check if the API is working as expected and all the required environment variables are set. | |
Requires the following environment variables (you can use it as .env_template): | |
AZURE_OPENAI_API_KEY= | |
AZURE_OPENAI_API_VERSION= | |
AZURE_OPENAI_ENDPOINT= | |
COMPLETION_DEPLOYMENT_NAME= | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Smoke test for Azure OpenAI API. | |
Check if the API is working as expected and all the required environment variables are set. | |
Requires the following environment variables (you can use it as .env_template): | |
AZURE_OPENAI_API_KEY= | |
AZURE_OPENAI_API_VERSION= | |
AZURE_OPENAI_ENDPOINT= | |
COMPLETION_DEPLOYMENT_NAME= | |
""" |
GitHub action that support versioning for mono repo
source: https://github.com/mrsauravsahu/blog-semver-monorepo-ref/blob/main/.github/workflows/gitversion.yml
There is video explaining howto use it. GitHub action starts at 7min14
https://youtu.be/tTaIXej35rU?si=Cb_GRDeBteOAR-UQ&t=434
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: 'Exploratory analysis' | |
author: 'Krystian Safjan' | |
date: '2024-01-03' | |
execute: | |
echo: false | |
format: | |
html: | |
toc: true | |
toc-depth: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exclude = [ | |
".tox", | |
".git", | |
"docs", | |
"venv", | |
".venv", | |
"*.pyc", | |
".git", | |
"__pycache__", | |
] |
NewerOlder