/Langchain-for-text-summary

Use openAI model and langchain for summary text, it can be from website, text and pdf file

Primary LanguageJupyter Notebook

Langchain-for-text-summary

Use openAI model and langchain for summary text, it can be from the website, text and pdf file.

Before you run the program, you need to get the openai API key, to get it :

  1. Go to https://platform.openai.com/ and create an account (if you don't have an account)
  2. After creating an account, log in to the website
  3. Click Your profile picture, then click View API

image

  1. After that click Create new secret key, give a name for your secret key then click the green button (Create secret key)
  2. Copy your secret key and then paste it into the code (Remember: The secret key will appear once, so you can't see the secret key after you close the pop up, if you forget your secret key you can make another one)

Now you can run the program from summarised text file, Good Luck