This repo will have examples of docetl usage. please ensure to create a .env file in the root and add OPENAI_API_KEY as below
OPENAI_API_KEY = < mention your openai key >
This use case example uses two components in the repo
- ./data/video_ids.json - In this file I specified the id of the youtube video that needs to be analyzed
- ./pipelines/youtube_extraction_pipeline.yaml - This contains the declarative opearations to extract the topics from youtube
To run this pipeline:
docetl run ./pipelines/youtube_extraction_pipeline.yaml