Does this tool work offline or does it require an API connection to external services like OpenAI?