You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-26Lines changed: 10 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1,33 +1,32 @@
1
1
# Contribution Guide
2
2
3
-
The repository is laid out as a monorepo where each moudle in the monorepo lives as a folder in `libs/`. Each module should have a `README.md` describing the specific purpose of the module and its development requirements.
3
+
Thank you for expressing your interest in contributing! To ensure that your contribution aligns with our guidelines, please carefully review the following guide.
4
4
5
-
This is a general guide applicable to all modules in the repository.
5
+
As a note, the repository is organized as a monorepo, with each module residing in a folder within the `libs/` directory. Each module should have a corresponding `README.md` file that provides information on its purpose and how to contribute to it. This contribution guide applies to all modules in the repository.
6
6
7
7
## Table of Contents
8
8
9
9
-[General Guidelines](#general-guidelines)
10
-
-[Branches](#branches-and-tags)
10
+
-[Branche and Tags](#branches-and-tags)
11
11
-[Release Steps](#release-steps)
12
-
-[Jupyter Notebooks](#jupyter-notebooks)
12
+
-[Github Workflows](#github-workflows)
13
13
-[General Prerequisites](#general-prerequisites)
14
14
-[Setup and Building](#setup-and-building)
15
15
-[Testing](#testing)
16
+
-[Documentation](#documentation)
16
17
17
18
## General Guidelines
18
19
19
-
Thank you for expressing your interest in contributing! To ensure that your contribution aligns with our guidelines, please carefully review the following before proceeding:
20
-
21
20
* For feature requests, we recommend consulting with [Labelbox Support](https://docs.labelbox.com/docs/contacting-customer-support) support or creating a [Github Issue](https://github.com/Labelbox/labelbox-python/issues).
22
-
* We can only accept general solutions that address common issues rather than solutions designed for specific use cases. Example contributions encompass a wide range of activities, such as bug fixes and updates to dependencies.
23
21
* Ensure that any new libraries added are compliant with the Apache license that governs the repository.
24
22
* Ensure that you update any relevant docstrings and comments within the code you may add or change.
25
23
* Ensure that any new Python components, such as classes, packages, or methods, that need to feature in the Labelbox documentation have entries in the file [index.rst](https://github.com/Labelbox/labelbox-python/blob/develop/docs/source/index.rst).
26
24
27
25
## Branches and Tags
28
26
29
-
* All development happens in per-feature branches prefixed by contributor's initials. For example `fs/feature_name`.
27
+
* All development happens in feature branches ideally prefixed by contributor's initials. For example `fs/feature_name`.
30
28
* Approved PRs are merged to the `develop` branch.
29
+
* All releases align to a git tag.
31
30
32
31
## Release Steps
33
32
@@ -37,7 +36,7 @@ Your contributions will be released as soon as it is approved and merged into th
37
36
38
37

39
38
40
-
The above describes the workflows that currently exist.
39
+
The above shows the Github workflows that currently exist in the repository.
41
40
42
41
* Github Branch Workflow
43
42
* When you push to a branch, it will create a build of the SDK that runs tests against **staging**. It will publish the build to `test.pypi.org` which can be downloaded for testing. Also, a docker image is built which can be used for testing as it has the SDK installed.
@@ -77,23 +76,8 @@ rye run lint
77
76
78
77
## Documentation
79
78
80
-
To generate documentation for all modules (`ReadTheDocs`), run the following command.
79
+
To generate documentation for all modules (`ReadTheDocs`), run the following command in the root of the repository.
81
80
82
81
```bash
83
82
rye run docs
84
-
```
85
-
86
-
## Jupyter Notebooks
87
-
88
-
We have samples in the `examples` directory and using them for testing can help increase your productivity.
89
-
90
-
Make sure your notebook will use your source code:
91
-
1.`ipython profile create`
92
-
2.`ipython locate` - will show where the config file is. This is the config file used by the jupyter server, since it runs via ipython
93
-
3. Open the file (this should be ipython_config.py and it is usually located in ~/.ipython/profile_default) and add the following line of code:
Copy file name to clipboardExpand all lines: README.md
+21-6Lines changed: 21 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@
15
15
16
16
# Labelbox
17
17
18
-
Labelbox is a data-centric AI platform for enterprises to develop, optimize, and use AI to solve problems and power new products and services.
18
+
Labelbox is a powerful data-centric AI platform that empowers enterprises to develop, optimize, and leverage AI to solve complex problems and drive innovation in their products and services.
19
19
20
-
Enterprises use Labelbox to curate data, generate high-quality human feedback data for computer vision and LLMs, evaluate model performance, and automate tasks by combining AI and human-centric workflows. The academic & research community uses Labelbox for cutting-edge AI research.
20
+
With Labelbox, enterprises can easily curate and annotate data, generate high-quality human feedback data for computer vision and language models, evaluate and improve model performance, and automate tasks by seamlessly combining AI and human-centric workflows. The academic and research community also relies on Labelbox for cutting-edge AI research and experimentation.
21
21
22
22
Visit [Labelbox](http://labelbox.com/) for more information.
23
23
@@ -26,6 +26,7 @@ Visit [Labelbox](http://labelbox.com/) for more information.
-[Develop with AI Assistance](#develop-with-ai-assistance)
28
28
-[Documentation](#documentation)
29
+
-[Jupyter Notebooks](#jupyter-notebooks)
29
30
30
31
## Quick Start
31
32
@@ -49,7 +50,7 @@ If you'd like to install the SDK with enhanced functionality, which additional o
49
50
pip install "labelbox[data]"
50
51
```
51
52
52
-
**If you want to installed a version of Labelbox built locally, be aware that only tagged commits have been validated to fully work! Installing the latest from develop is at your own risk!**
53
+
**Please note that if you prefer to build and install your own version of the SDK, it is important to be aware that only tagged commits have been thoroughly tested. Building from the head of develop branch carries some level of risk.**
You should be set! Running the snippet above should create a dataset called `Test Dataset` with a single datarow with the text contents being `My First Data Row`. You can log into [Labelbox](http://labelbox.com/) to verify this. If you have any issues please file a Github Issue or contact [Labelbox Support](https://docs.labelbox.com/docs/contacting-customer-support) directly. For more advanced examples and information on the SDK, see [Documentation](#documentation) below.
69
+
You should be set! Running the snippet above should create a dataset called `Test Dataset` with its content being `My First Data Row`. You can log into [Labelbox](http://labelbox.com/) to verify this. If you have any issues please file a Github Issue or contact [Labelbox Support](https://docs.labelbox.com/docs/contacting-customer-support) directly. For more advanced examples and information on the SDK, see [Documentation](#documentation) below.
69
70
70
71
## Contribution Guidelines
71
72
We encourage anyone to contribute to this repository to help improve it. Please refer to [Contributing Guide](CONTRIBUTING.md) for detailed information on how to contribute. This guide also includes instructions for how to build and run the SDK locally.
@@ -75,8 +76,22 @@ We encourage anyone to contribute to this repository to help improve it. Please
75
76
Using the [GPT repository loader](https://github.com/mpoon/gpt-repository-loader), we have created `lbx_prompt.txt` that contains data from all `.py` and `.md` files. The file has about 730k tokens. We recommend using Gemini 1.5 Pro with 1 million context length window.
76
77
77
78
## Documentation
78
-
The SDK is well-documented to help developers get started quickly and use the SDK effectively. Here are some resources:
79
+
The SDK is well-documented to help developers get started quickly and use the SDK effectively. Here are links to that documentation:
79
80
80
81
-[Labelbox Official Documentation](https://docs.labelbox.com/docs/overview)
0 commit comments