semvec/pypi-packages huggingface dataset:
vision-agents-plugins-krisp 0.1.14
Krisp turn detection plugin for Vision Agents
Requires Python: >=3.10
Keywords: AI, agents, krisp, turn detection, voice agents

# Krisp Plugin

This plugin provides Krisp-based turn detection capabilities for Vision Agents using the Krisp Audio SDK.

## Features

- **Turn Detection**: Real-time detection of speaking turns using Krisp's turn-taking model
- **High Accuracy**: Leverages Krisp's advanced audio processing for reliable turn detection
- **Configurable**: Adjustable confidence thresholds and frame durations
- **Low Latency**: Optimized for real-time conversational AI applications

## Installation

```bash
pip install vision-agents-plugins-krisp
```

**Note**: This plugin requires the Krisp Audio SDK and a valid Krisp model file (`.kef`).

## Usage

```python
from vision_agents.plugins import krisp

# Create turn detector
turn_detector = krisp.TurnDetection(
    model_path="path/to/krisp-viva-tt-v1.kef",
    frame_duration_ms=15,
    confidence_threshold=0.5
)

# Start detection
turn_detector.start()

# Process audio
await turn_detector.process_audio(audio_data, user_id="user123")

# Stop detection
turn_detector.stop()
```

## Configuration

- `model_path`: Path to the Krisp model file (`.kef`)
- `frame_duration_ms`: Duration of audio frames in milliseconds (10, 15, 20, 30, or 32)
- `confidence_threshold`: Threshold for turn detection (0.0 to 1.0)

## Requirements

- Python 3.10+
- `krisp-audio` SDK
- `vision-agents-core`
- Krisp model file

## License

Apache-2.0
pigeon.js 1.0.0
A JavaScript Pigeon message converter.
Requires Python: >=3.10

# pigeon.js

`pigeon.js` is a JavaScript [Pigeon](https://github.com/AllenInstitute/pigeon) client. Also included is a Python script for converting the Python Pigeon message definitions to JSON.

### Message Converter

The message converter can be installed using `pip install .`, then run using `pigeon.js <entrypoint>` or `python -m pigeon_js <entrypoint>`, where `<entrypoint>` is the name of the Python entrypoint containing the message definitions. This produces a JSON file containing the message hashes and schemas in JSON Schema format.

### JavaScript Client

The JavaScript Client uses [`STOMP.js`](https://github.com/stomp-js/stompjs) for STOMP communication and [`ajv`](https://www.npmjs.com/package/ajv) for data validation.

### Example

An example of how this client can be used is available in the `example` directory.
pigeon-client 3.0.2
A STOMP client with message definitions via Pydantic
Requires Python: >=3.10

![Pigeon logo](imgs/pigeon_1024.png)

[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/TilEM-project/pigeon/main.yaml)](https://github.com/AllenInstitute/pigeon/actions)
[![Documentation Status](https://readthedocs.org/projects/pigeon/badge/?version=latest)](https://pigeon.readthedocs.io/en/latest/?badge=latest)
[![PyPI - Version](https://img.shields.io/pypi/v/pigeon-client)](https://pypi.org/project/pigeon-client/)

# Pigeon

Pigeon is a combination of a [STOMP client](https://pypi.org/project/stomp-py/), and a message definition system using [Pydantic](https://docs.pydantic.dev/latest/) models.

## Message Definitions

Messages are defined by writing a Pydantic model for each topic. These messages can be registered at runtime, or placed in a Python package and automatically loaded when Pigeon is imported using an [entrypoint](https://packaging.python.org/en/latest/specifications/entry-points/).

## Logging

When a Pigeon client is instantiated, a logger is created. If desired, logs can also be sent to [Grafana Loki](https://grafana.com/oss/loki/) by setting environment variables.

| Variable      | Documentation                                                                 |
| ------------- | ----------------------------------------------------------------------------- |
| LOKI_URL      | The URL of the location of the Loki Server                                    |
| LOKI_TAGS     | A mapping using colons to split tags and values, and commas to separate pairs |
| LOKI_USERNAME | The username to use when connecting to the server                             |
| LOKI_PASSWORD | The password to use when connecting to the server                             |
| LOKI_VERSION  | The version of the Loki Emitter to use                                        |

## Templates

To ease the creation of services using Pigeon, a [Cookiecutter](https://cookiecutter.readthedocs.io/en/stable/) [template](https://github.com/TilEM-project/pigeon-service-cookiecutter) is available. Similarly, a [template](https://github.com/TilEM-project/pigeon-msgs-cookiecutter) for a message definition package is available.