Simple API to navigate to a URL from a prompt, returning relevant context from the prompt using a vector store.
- Navigate (parse url/fetch/mime-type check)
- Extract text (jsdom/puppeteer/pdf-parse)
- Create vector store (transformers.js)
- Return vector results in prompt (langchain)
- Configuration: Vector search size, token counting
- OpenAI functions integration