Skip to main content

Summ provides intelligent question-answering and search capabilities across user interview transcripts.

Project description

Summ

PyPI - Version PyPI - Python Version


Summ uses ChatGPT to provide intelligent question-answering and search capabilities across user transcripts!

Easily surface insights and summarize facts across various dimensions such as department, industry, and role. With the help of natural language processing, the tool can understand and respond to complex questions and queries, making it easy for users to find the information they need.

A tool by @markiewagner and @yasyf.

asciicast

Requirements

You'll need an instance of Redis Stack running.

$ brew install --cask redis-stack/redis-stack/redis-stack-server
$ brew install yasyf/summ/redis-stack
$ brew services start yasyf/summ/redis-stack

You'll also need to set three environment variables: OPENAI_API_KEY, PINECONE_API_KEY, and PINECONE_ENVIRONMENT.

Installation

The easiest installation uses pip:

$ pip install summ

If you prefer to use brew:

$ brew install yasyf/summ/summ

n.b summ requires Python 3.10+.

Demo

You can confirm that summ installed properly by running the built-in example.

$ summ-example

Quickstart

First, create a new project with:

$ summ init /path/to/project
$ cd /path/to/project

An example implementation can now be found at /path/to/project/__init__.py.

As you can see, you don't need to do any configuration to start using summ. We simply use summ.Pipeline.default and pass a path to a directory with text files.

However, the tool works much better when users are tagged. In order to do so, you need to specify two things:

  1. The categories of tags (and the tags within each category).
  2. A prompt directing how to apply the tags of a given category.

You can see an example of this at summ/examples/otter.

Docs

Check out the summ/examples directory for some samples, or dive into the full docs at summ.readthedocs.io.

License

summ is distributed under the terms of the AGPL 3.0 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

summ-0.1.17.tar.gz (83.0 kB view hashes)

Uploaded Source

Built Distribution

summ-0.1.17-py3-none-any.whl (95.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page