tablestore-java-mcp-server-rag/tablestore-mcp-server/src/main/java/com/alicloud/openservices/tablestore/sample/service/TablestoreService.java [291:300]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        ListSearchIndexRequest request = new ListSearchIndexRequest();
        request.setTableName(tableName);
        ListSearchIndexResponse listSearchIndexResponse = client.listSearchIndex(request);
        return listSearchIndexResponse.getIndexInfos();
    }

    private void checkEmbeddingDimension() {
        float[] embed = embeddingService.embed("test");
        if (embed.length != vectorDimension) {
            throw new IllegalArgumentException(String.format("the embeddingService's embedding dimension is:%d, but the config vector dimension is:%d", embed.length, vectorDimension));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tablestore-java-mcp-server/src/main/java/com/alicloud/openservices/tablestore/sample/service/TablestoreService.java [226:235]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        ListSearchIndexRequest request = new ListSearchIndexRequest();
        request.setTableName(tableName);
        ListSearchIndexResponse listSearchIndexResponse = client.listSearchIndex(request);
        return listSearchIndexResponse.getIndexInfos();
    }

    private void checkEmbeddingDimension() {
        float[] embed = embeddingService.embed("test");
        if (embed.length != vectorDimension) {
            throw new IllegalArgumentException(String.format("the embeddingService's embedding dimension is:%d, but the config vector dimension is:%d", embed.length, vectorDimension));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



