package com.lideeyunji.tool.framework.ai.websearch.searxng;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
public class SearXNGResponse {
    private String query;

    @JsonProperty("number_of_results")
    private String numberOfResults;

    private List<Result> results;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Result {
        private String url;
        private String title;
        private String content;
    }
}
