Skip to content

Commit 1b244a6

Browse files
committed
Release v0.0.1
1 parent 7b8c51c commit 1b244a6

File tree

10 files changed

+27
-5
lines changed

10 files changed

+27
-5
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,24 @@ Possible use cases may include:
1414
1515
## Installation
1616

17-
Under active development. Coming to `PyPI` soon. Currently you can run `datasetGPT` by cloning this repository as described [here](#contributing).
17+
```
18+
pip install datasetGPT
19+
```
20+
21+
Most of the generation features rely on third-party APIs. Install their respective packages:
22+
23+
```
24+
pip install openai cohere petals
25+
```
1826

1927
## Usage examples
2028

2129
### Inference LLMs at scale
2230

2331
```bash
32+
export OPENAI_API_KEY="..."
33+
export COHERE_API_KEY="..."
34+
2435
datasetGPT texts \
2536
--prompt "If {country} was a planet in the Star Wars universe it would be called" \
2637
--backend "openai|text-davinci-003" \
@@ -140,6 +151,8 @@ for conversation in conversations_generator:
140151

141152
## Contributing
142153

154+
> Still under active development.
155+
143156
Contributions will be highly appreciated. Currently these features are under development:
144157
- [x] `datasetGPT conversations` - Make two ChatGPT agents talk with one another and record the conversation history.
145158
- [x] `datasetGPT texts` - Inference different LLMs with a given input prompt and generate multiple outputs by varying parameters.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ['setuptools>=61.0']
3+
build-backend = 'setuptools.build_meta'

setup.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
from distutils.core import setup
2+
from setuptools import find_packages
3+
4+
with open("README.md", "r", encoding = "utf-8") as readme:
5+
long_description = readme.read()
26

37
setup(
48
name="datasetGPT",
5-
packages=["datasetGPT"],
69
version="0.0.1",
710
description="Generate textual and conversational datasets with LLMs.",
11+
long_description = long_description,
12+
long_description_content_type = "text/markdown",
813
author="Radostin Cholakov",
914
author_email="[email protected]",
1015
url="https://github.com/radi-cho/datasetGPT",
1116
# download_url="https://github.com/radi-cho/datasetGPT/archive/v0.0.1.tar.gz",
1217
keywords=["dataset", "llm", "langchain", "openai"],
18+
package_dir={"": "src"},
19+
packages = find_packages(where="src"),
1320
install_requires=[
14-
"langchain",
15-
"openai",
16-
"click"
21+
"langchain>=0.0.113",
22+
"click>=8.1"
1723
],
1824
entry_points={
1925
"console_scripts": [
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)