Skip to content

Using LLM to extract document topic and related companies mentioned in the article.

Notifications You must be signed in to change notification settings

annabelleluo/document-topic-parsing

Repository files navigation

Article Parsing

This is designed to leverage LLM to parse related companies in articles, and their respective topic.

Install the library

To install the library, create a conda environment or venv

  • Choose a name for your conda environment and run this line by changing env_name
conda create -n <env_name> python=3.11
  • Install the dependencies
conda activate <env_name>
pip install -r requirements.txt 

Usage

python main.py --openai_key="your-token" --document="sample_docu"

About

Using LLM to extract document topic and related companies mentioned in the article.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages