Useful collection of LLM tools.
website.py
website_html(url)
- gets html given website urlwebsite_text(url)
- gets website text given website url
summarize.py
chunk_text(text)
- processes text into list of text chunkssummarize(text, prompt)
- summarizes text, recursively if length exceeds context
- Create
.env
withOPENAI_API_KEY=sk-...
.