diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..0b371bb --- /dev/null +++ b/.github/workflows/cd.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 892a078..d6d72d1 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/llm4data/__init__.py b/llm4data/__init__.py index f3f80dc..3537095 100644 --- a/llm4data/__init__.py +++ b/llm4data/__init__.py @@ -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")) diff --git a/pyproject.toml b/pyproject.toml index 72c0014..cdcedfe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] readme = "README.md"