Metadata-Version: 2.1
Name: versacorellmchatapi
Version: 0.1.2
Summary: A Python library for interacting with the VersaCore LLM Chat API.
Home-page: https://github.com/AI-Sherpa/versacorellmchatapi
Author: Jansen Tang
Author-email: jansen.tang@ai-sherpa.io
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests

# VersaCoreLLMChatAPI

A Python library for interacting with VersaCore LLM Chat API.

## Installation

```bash
pip install versacorellmchatapi
```

## Usage

```python
from versacorellmchatapi.api import VersaCoreLLMChatAPI

llm_api = VersaCoreLLMChatAPI("ollama")
messages = [
    {"role": "user", "content": "why is the sky blue?"}
]
response = llm_api.chat_completions(messages, model="mistral", temperature=0.7, max_tokens=50, stream=False)
print(response['message']['content'])

```
