attilagyorffy / ai-summarizer

An example langchain text summariser using the OpenAI API key

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

  1. Get your OpenAI API key from here.
  2. Create a .env file and export it in the format of `OPENAI_API_KEY="ADD YOUR KEY HERE"
  3. Install dependencies with pip3 install -r requirements.txt
  4. Invoke the summarizer with python3 summarize.py <URL to document>

About

An example langchain text summariser using the OpenAI API key


Languages

Language:Python 100.0%