Skip to content

Commit

Permalink
Merge pull request #9 from filip-michalsky/packaging
Browse files Browse the repository at this point in the history
SalesGPT is now pip installable
  • Loading branch information
filip-michalsky authored Jun 20, 2023
2 parents 43f44e2 + 04a9445 commit 8125086
Show file tree
Hide file tree
Showing 17 changed files with 490 additions and 339 deletions.
25 changes: 23 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
*.log
.env
**.env
.DS_Store
__pycache__
**__pycache__

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include requirements.txt
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ I am currently open to freelancing opps - please contact me through [my website]

```python
import os
from sales_gpt import SalesGPT
from salesgpt.agents import SalesGPT
from langchain.chat_models import ChatOpenAI

os.environ['OPENAI_API_KEY'] = 'sk-xxx' # fill me in
Expand Down Expand Up @@ -104,6 +104,10 @@ Create `.env` file and put your Open AI Key there by specifying a line:

`OPENAI_API_KEY=sk-xxx`

Install with pip

`pip install salesgpt`

## Try it out

To get a feel for a conversation with the AI Sales agent, you can run:
Expand Down
File renamed without changes.
32 changes: 0 additions & 32 deletions quickstart.py

This file was deleted.

8 changes: 7 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
langchain
langchain>=0.0.205
openai>=0.27.8
tqdm>=4.65.0
black>=23.3.0
flake8>=6.0.0
isort>=5.12.0
pytest>=7.3.2
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import json

from sales_gpt import SalesGPT
from salesgpt.agents import SalesGPT
from langchain.chat_models import ChatOpenAI


Expand Down
296 changes: 0 additions & 296 deletions sales_gpt.py

This file was deleted.

Empty file added salesgpt/__init__.py
Empty file.
Loading

0 comments on commit 8125086

Please sign in to comment.