Skip to content

yasyf/summ

Repository files navigation

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.

About

GPT-based Conversation Summarizer

Resources

License

Stars

Watchers

Forks

Packages

No packages published