Skip to content

Commit f66cc80

Browse files
FelixKirschJohannes HötterJWittmeyerJWittmeyertianzhou
authored
Release v1.1.1 (#76)
* Update LICENSE * fixes issue #6 (#7) * fixes issue #6 * Adds GitPython requirement to setup script Co-authored-by: JWittmeyer <[email protected]> * Pip install fix (#8) * pypi 1.0.0 -> 1.0.1 * Pip install fix (#10) * cli as part of refinery module * Adds batch change * Update README.md * Add live star-history graph * Update README.md * Update README.md * Adds different credential ip from docker network * Update Readme * Update issue templates adds feature requests * Update issue templates Automatically set label and assignee for enhancements * Update README.md removes discourse and replaces it with GitHub discussions * Adds volume for minio & qdrant for start & template (#17) * update cli to check for commit hash diff * change cli dialogue * Update issue templates * Update issue templates * Changes the windows ipconfig extraction * implements suggestions from PR #32 and bumps version * Adds update script for pulling newest docker images * Adds bat version of the update for windows - changes to docker-compose command * Add files via upload * adds update and help CLI commands, bumps to version 1.1.0 (#74) * V 111 (#75) * adds demo * bumps version Co-authored-by: Johannes Hötter <[email protected]> Co-authored-by: JWittmeyer <[email protected]> Co-authored-by: JWittmeyer <[email protected]> Co-authored-by: tianzhou <[email protected]> Co-authored-by: wiertzbl <[email protected]> Co-authored-by: simonrempel <[email protected]> Co-authored-by: Simon Degraf <[email protected]>
1 parent db2f5c0 commit f66cc80

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</p>
66

77
<p align=center>
8-
<a href="https://pypi.org/project/kern-refinery/1.0.3/"><img src="https://img.shields.io/badge/pypi-1.0.3-yellow.svg" alt="pypi 1.0.3"></a>
8+
<a href="https://pypi.org/project/kern-refinery/1.1.1/"><img src="https://img.shields.io/badge/pypi-1.1.1-yellow.svg" alt="pypi 1.1.1"></a>
99
<a href="https://github.com/code-kern-ai/refinery/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-success" alt="Apache 2.0 License"></a>
1010
<a href="https://github.com/code-kern-ai/refinery/discussions"><img src="https://img.shields.io/badge/Discussions-gray.svg?logo=github" alt="GitHub Discussions"></a>
1111
<a href="https://discord.gg/qf4rGCEphW"><img src="https://img.shields.io/badge/Discord-gray.svg?logo=discord" alt="Discord"></a>
@@ -14,6 +14,7 @@
1414
<a href="https://www.youtube.com/channel/UCru-6X24b76TRsL6KWMFEFg"><img src="https://img.shields.io/badge/YouTube-FF0000.svg?logo=youtube" alt="YouTube"></a>
1515
<a href="https://github.com/code-kern-ai/refinery/projects/1"><img src="https://img.shields.io/badge/Roadmap-yellow.svg" alt="Roadmap"></a>
1616
<a href="https://app.kern.ai/"><img src="https://img.shields.io/badge/Cloud-black.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALDSURBVHgBvVfBjRUxDLWzf+GCxJeQkLhNJ2wLFIC02wFIcNgG4IBAdMCBBrYD6IS5oYXLcoAL/Bg7iRM7Mx+ElMHSTDxOxn52nMRBKPR4vvwAQA8BELOE+EGQD8QAIYkRgjzMiwyl5WGh8NKXZFD6y1jpP0Jz15ONYzGNRSQtUZYrNBKBPPqn4RDRaSVYEuV/pwYgeEVUYyAtHVW0ZqgoT+5Y4JYUZAMQdSBWr1GVkgGnfegVQZWRjxomScWOHZyw9IKqB8WdPK/FG3lZUOkLdUqsHKrraIKg0RSd8s+uByAIyQSbzV8R4k1KwJIhWKOQEw+InxDq/wlpKJoEOdKeRWcs2WefGoid9x2hm+n5/fTiEQyg59ev37H6817upgBN+7eE+1ciaMmi4e8A+NC7zBlAbJS679S6HOgzFGF7Citcs45jIeCKvt2Tzy8nYb79/M4Zm5dcjJGzPt7wPM0wkGTe7RJPq+D05PYn+bgXbhmEePXq/tMLGEhsOKm3URAwwaLZksISUNlH/hOl4HfhXwBzW/BoKkd2b89vRGuoRmLoABydggjbkEbYroZdP2B0YkilxX5P1z++7k8C6hH98e7pnYsKgOqRm0M0MgJinJuJWOuv2OqEtw8uZ+lPzubDATajXBXh6iFXp2DLbaBURQZOo7BYerTNKqh7LAbnarBns44cvQpaeaaVdMOwy6j6+NP5sy9vUuLIT3w4Mcdtqgdj0iGyxAPkN+XRkQ5JdogHMbNnftIyrSt1GwBnuqwIZs4gKWyzljMYa6EqvC3ZiWIto0OJbL1okJb5fspdDuQ1Wopzbf2rITGHmivbiy0yhfiftvjQ1/VaFVHRa0vwasR/Y7vM1TtFKompFPE26D2U1XtBVmwuIOhimMfRcmHZ61muQn122aC1CADOsEK0YBC05FeACzLXjxbHPu/FapiV/Q23LD/8UGO+6AAAAABJRU5ErkJggg==" alt="Kern AI"></a>
17+
<a href="https://demo.kern.ai/"><img src="https://img.shields.io/badge/Demo-white.svg" alt="Playground"></a>
1718
<a href="https://docs.kern.ai/docs"><img src="https://img.shields.io/badge/Docs-blue.svg" alt="Docs"></a>
1819
<a href="https://www.kern.ai/"><img src="https://img.shields.io/badge/Web-white.svg" alt="Website"></a>
1920
</p>
@@ -24,6 +25,8 @@ _refinery_ doesn't get rid of manual labeling, but it makes sure that your valua
2425

2526
![Showcase GIF of _refinery_](refinery.gif)
2627

28+
> **_DEMO:_** You can interact with the application in a (mostly read-only) online playground. Check it out [here](https://demo.kern.ai)
29+
2730
_refinery_ consists of multiple microservices to enable a scalable and optimized workload balance, so this is the central repository used to orchestrate the system. It builds on top of [🤗 Hugging Face](https://www.huggingface.co) and [spaCy](https://spacy.io/) to leverage pre-built language models for your NLP tasks, as well as [qdrant](https://github.com/qdrant/qdrant) for neural search. Our microservices natively support GPU acceleration.
2831

2932
## Table of contents

refinery/cli.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,35 @@ def _stop_server():
9191
msg.fail(f"Could not find repository {REFINERY_FOLDER}.")
9292

9393

94+
def update(cur_dir: str):
95+
"""Updates the refinery repository.
96+
97+
Args:
98+
cur_dir (str): The current directory.
99+
"""
100+
101+
def _update():
102+
if platform.system() == "Windows":
103+
subprocess.run(["update.bat"])
104+
else:
105+
subprocess.run(["./update"])
106+
107+
if cur_dir == REFINERY_FOLDER:
108+
_update()
109+
elif os.path.exists(REFINERY_FOLDER):
110+
with cd(REFINERY_FOLDER):
111+
_update()
112+
else:
113+
msg.fail(f"Could not find repository {REFINERY_FOLDER}.")
114+
115+
116+
def help():
117+
msg.info("Available commands:")
118+
msg.info(" - `refinery start` to start the server")
119+
msg.info(" - `refinery stop` to end it")
120+
msg.info(" - `refinery update` to update the repository")
121+
122+
94123
def main():
95124
cli_args = sys.argv[1:]
96125
if len(cli_args) == 0:
@@ -102,6 +131,10 @@ def main():
102131
start(cur_dir)
103132
elif command == "stop":
104133
stop(cur_dir)
134+
elif command == "update":
135+
update(cur_dir)
136+
elif command == "help":
137+
help()
105138
else:
106139
msg.fail(
107140
f"Could not understand command `{command}`. Type `refinery help` for some instructions."

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name="kern-refinery",
13-
version="1.0.3",
13+
version="1.1.1",
1414
author="jhoetter",
1515
author_email="[email protected]",
1616
description="The open-source data-centric IDE for NLP.",

0 commit comments

Comments
 (0)