Metadata-Version: 2.4
Name: sales-model
Version: 0.1.0
Summary: AI-powered sales assistant with intelligent conversation management, lead scoring, and voice capabilities
Project-URL: Homepage, https://salesai.com
Project-URL: Documentation, https://salesai.com/docs
Project-URL: Repository, https://github.com/salesai/sales-model
Project-URL: Changelog, https://github.com/salesai/sales-model/releases
Author-email: SalesAI Team <support@salesai.com>
License: Proprietary
Keywords: ai,azure-openai,chatbot,conversation,lead-scoring,llm,sales,voice
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: aiohttp>=3.13.3
Requires-Dist: azure-ai-voicelive>=1.0.0b1
Requires-Dist: azure-cognitiveservices-speech>=1.47.0
Requires-Dist: fastapi>=0.115.6
Requires-Dist: httpx>=0.28.1
Requires-Dist: openai>=2.16.0
Requires-Dist: pydantic>=2.12.5
Requires-Dist: pyjwt>=2.9.0
Requires-Dist: python-dotenv>=1.0.1
Requires-Dist: redis>=5.0.8
Requires-Dist: requests>=2.32.5
Requires-Dist: structlog>=24.4.0
Requires-Dist: tqdm>=4.67.1
Requires-Dist: uvicorn>=0.30.1
Requires-Dist: websockets>=12.0
Description-Content-Type: text/markdown

# sales-model

This folder (`model/`) is a standalone Python package you can build and publish to PyPI.

It includes:
- `sales_model/`: the core sales brain + supporting utilities
- `app/`: a FastAPI-based voice/API gateway

## Local install (editable)

From the repo root:

```bash
cd model
python -m pip install -U pip
python -m pip install -e .
```

Quick sanity check:

```bash
python -c "from sales_model import SalesBrain; print(SalesBrain)"
```

## Build

```bash
cd model
python -m pip install -U build
python -m build
```

Artifacts land in `model/dist/`:
- `*.whl`
- `*.tar.gz`

## Upload to PyPI

For CI/CD via GitHub Actions (Trusted Publishing), see `PYPI_PUBLISHING.md`.

Create an account/token on PyPI first, then:

```bash
cd model
python -m pip install -U twine
python -m twine upload dist/*
```

## Using the package

Install:

```bash
pip install sales-model
```

Run the CLI:

```bash
sales-brain
```

Run the API (example):

```bash
uvicorn app.main:app --reload
# or
uvicorn app.main_v2:app --reload
```
