UNPKG

esp-ai

Version:

Provide a complete set of AI dialogue solutions for your development board, including but not limited to the IAT+LLM+TTS integration solution for the ESP32 series development board. | 为你的开发板提供全套的AI对话方案,包括但不限于 `ESP32` 系列开发板的 `IAT+LLM+TTS` 集成方案。

11 lines (9 loc) 284 B
function parseUrlParams(url) { const params = new URLSearchParams(url.split('?')[1]); const paramsObject = {}; for (const [key, value] of params.entries()) { paramsObject[key] = value; } return paramsObject; } module.exports = parseUrlParams;