Metadata-Version: 2.1
Name: weavel
Version: 1.1.0
Summary: Weavel, natural language analysis Dashboard for LLM Agent
Home-page: https://github.com/weavel-ai/weavel-python
Author: weavel
Keywords: weavel,agent,llm,tools,llm agent,collaborative,dashboard,user analytics,agent analytics,funnel analytics
Requires-Python: >=3.8.10
Description-Content-Type: text/markdown
License-File: LICENSE

<div align="center">
    <a href="https://www.weavel.ai">
        <img src="https://i.imgur.com/uQ7ulX3.png" title="Logo" style="" />
    </a>
    <h1>Weavel Python SDK</h1>
    <h3>Automated Analytics for LLM Application</h3>
    <div>
        <a href="https://pypi.org/project/weavel" target="_blank">
            <img src="https://img.shields.io/pypi/v/weavel.svg" alt="PyPI Version"/>
        </a>
    </div>
</div>

## Installation

```bash
pip install weavel
```

## Documentation

You can find our full documentation [here](https://weavel.ai/docs/sdks/python).

## How to use

```python
from weavel import Weavel

weavel = Weavel()

session = weavel.session(user_id = "UNIQUE_USER_ID")

session.message(
    role="user",
    content="Nice to meet you!"
)

session.track(
    name="Main Page Viewed"
)

trace = session.trace(
    name="retrieval_module"
)

trace.log(
    name="google_search"
)
```
