Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add argilla script #3730

Merged
merged 2 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ These are the section headers that we use:
- Added `workspaces add-user` command to add a user to workspace ([#3712](https://github.com/argilla-io/argilla/pull/3712)).
- Added `workspace_id` param to `GET /api/v1/me/datasets` endpoint ([#3727](https://github.com/argilla-io/argilla/pull/3727)).
- Added `workspace_id` arg to `list_datasets` in the Python SDK ([#3727](https://github.com/argilla-io/argilla/pull/3727)).
- Added `argilla` script that allows to execute Argilla CLI using the `argilla` command ([#3730](https://github.com/argilla-io/argilla/pull/3730)).

### Changed

Expand Down
10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ postgresql = [
# If we're on macOS, then install `psycopg2-binary` instead
"psycopg2-binary ~= 2.9.5; sys_platform == 'darwin'",
# Async PostgreSQL
"asyncpg >=0.27.0"
"asyncpg >=0.27.0",
]
listeners = ["schedule ~= 1.1.0", "prodict ~= 0.8.0"]
integrations = [
Expand All @@ -93,7 +93,8 @@ integrations = [
# TODO: some backward comp. problems introduced in 0.5.0. 0.13 does not match with setfit
"huggingface_hub >= 0.5.0,< 0.13",
# Version 0.12 fixes a known installation issue related to `sentencepiece` and `tokenizers`, more at https://github.com/flairNLP/flair/issues/3129
"flair >= 0.12.2", # Version 0.12.2 relaxes the `huggingface_hub` dependency
# Version 0.12.2 relaxes the `huggingface_hub` dependency
"flair >= 0.12.2",
"faiss-cpu",
"flyingsquid",
"pgmpy",
Expand All @@ -108,7 +109,7 @@ integrations = [
"span_marker",
"openai>=0.27.10",
"peft",
"trl>=0.5.0"
"trl>=0.5.0",
]
tests = [
"pytest",
Expand All @@ -123,6 +124,9 @@ homepage = "https://www.argilla.io"
documentation = "https://docs.argilla.io"
repository = "https://github.com/argilla-io/argilla"

[project.scripts]
argilla = "argilla.cli.app:app"

[tool.setuptools.packages.find]
where = ["src"]

Expand Down
Loading