33 Downloads
Project Files
README
A TypeScript-based web search plugin for LM Studio. This plugin enables local LLMs to access the live web, read page content, and perform pattern matching within web pages.
The plugin registers four main tools with LM Studio:
search: Performs web searches. Supports single queries or batches of up to 5 queries.read: Opens a URL and extracts its text content, automatically stripping HTML tags, scripts, and styles.find_in_page: Searches for a specific pattern (string or regex) within a given URL and returns the surrounding context.today: Returns the current local date and time.You can configure the following settings in LM Studio:
low, medium, high).strict, moderate, off).npm install
Run in Development Mode:
npm run dev
This uses lms dev to load the plugin into LM Studio for testing.
Build the Plugin:
npm run build
Compiles the TypeScript source code into the dist directory.
Run Tests:
npm test
Executes the test suite using the Node.js test runner.
@lmstudio/sdk v1.5.0.33 Downloads
Project Files
README
A TypeScript-based web search plugin for LM Studio. This plugin enables local LLMs to access the live web, read page content, and perform pattern matching within web pages.
The plugin registers four main tools with LM Studio:
search: Performs web searches. Supports single queries or batches of up to 5 queries.read: Opens a URL and extracts its text content, automatically stripping HTML tags, scripts, and styles.find_in_page: Searches for a specific pattern (string or regex) within a given URL and returns the surrounding context.today: Returns the current local date and time.You can configure the following settings in LM Studio:
low, medium, high).strict, moderate, off).npm install
Run in Development Mode:
npm run dev
This uses lms dev to load the plugin into LM Studio for testing.
Build the Plugin:
npm run build
Compiles the TypeScript source code into the dist directory.
Run Tests:
npm test
Executes the test suite using the Node.js test runner.
@lmstudio/sdk v1.5.0.Forked from dandin189/web-search
Forked from dandin189/web-search