version: 0.0.1 author: Watercrawl
This plugin allows you to use OpenAI's LLM to extract information from crawled content.
You can install this plugin using pip:
pip install watercrawl-openai
To use this plugin in your Watercrawl project, import it as follows:
In the WaterCrawl project environments add the following:
WATER_CRAWL_PLUGINS="watercrawl_openai.OpenAIPlugin,...rest_of_plugins"
Make sure to set the following environment variables:
OPENAI_API_KEY="Your OpenAI API key"
EXTRACT_SYSTEM_PROMPT="Your system prompt"
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.