Skip to content

Commit

Permalink
Add cd action and bump version (#11)
Browse files Browse the repository at this point in the history
* Add cd action and bump version

Signed-off-by: Aivin V. Solatorio <avsolatorio@gmail.com>

* Specify development data

Signed-off-by: Aivin V. Solatorio <avsolatorio@gmail.com>

---------

Signed-off-by: Aivin V. Solatorio <avsolatorio@gmail.com>
  • Loading branch information
avsolatorio authored Jun 1, 2023
1 parent d1693bd commit 942e300
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: cd

on:
release:
types:
- published

permissions:
id-token: write
contents: read

jobs:
publish_to_pypi:
name: publish to pypi on new release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: JRubics/poetry-publish@v1.16
name: Build and publish to PyPI
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
ignore_dev_requirements: "yes"
repository_url: https://upload.pypi.org/
repository_name: llm4data
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LLM4Data

LLM4Data is a Python library designed to facilitate the application of large language models (LLMs) and artificial intelligence for data and knowledge discovery. It is intended to empower users and organizations to discover and interact with development data in innovative ways through natural language.
LLM4Data is a Python library designed to facilitate the application of large language models (LLMs) and artificial intelligence for development data and knowledge discovery. It is intended to empower users and organizations to discover and interact with development data in innovative ways through natural language.

This library contains a collection of discovery and data augmentation solutions for various data types including documents, indicators, microdata, geospatial data, and more. The current version of the library includes solutions for the WDI indicators. Additional solutions will be added in [future releases](https://worldbank.github.io/llm4data/README.html#upcoming-features).

Expand Down
2 changes: 1 addition & 1 deletion llm4data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Do this before importing any other modules.
dotenv.load_dotenv()

__version__ = "0.0.1"
__version__ = "0.0.2"

indicator2name = dict(
wdi=json.load((Path(__file__).parent / "wdi2name.json").open("r"))
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "llm4data"
version = "0.0.1"
description = "LLM4Data is a Python library designed to facilitate the application of large language models (LLMs) and artificial intelligence for data and knowledge discovery."
version = "0.0.2"
description = "LLM4Data is a Python library designed to facilitate the application of large language models (LLMs) and artificial intelligence for development data and knowledge discovery."
authors = ["Aivin V. Solatorio <avsolatorio@gmail.com>"]
readme = "README.md"

Expand Down

0 comments on commit 942e300

Please sign in to comment.