memofai
Version:
Revolutionary dual-track AI memory infrastructure SDK for JavaScript/TypeScript applications
18 lines • 576 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.GraphSearchAPI = void 0;
const utils_1 = require("../utils");
class GraphSearchAPI {
constructor(httpClient) {
this.httpClient = httpClient;
}
async search(params) {
(0, utils_1.validateGraphSearchParams)(params);
return this.httpClient.post('/graph-search', params);
}
async getSearchTypes() {
return this.httpClient.get('/graph-search/types');
}
}
exports.GraphSearchAPI = GraphSearchAPI;
//# sourceMappingURL=graph-search-api.js.map
;