Method and apparatus for generating index, and electronic device

    公开(公告)号:US12298956B2

    公开(公告)日:2025-05-13

    申请号:US18748362

    申请日:2024-06-20

    Abstract: A method for generating an index, and an electronic device are provided. The detailed solution includes: determining a first parameter group and a second parameter group in response to receiving a query request for a first vector database and there being no available index for the first vector database, constructing a first index for the first vector database based on the first parameter group, and querying the first vector database based on the first index; constructing a second index for the first vector database based on the second parameter group in response to meeting a preset condition; and in response to determining that construction of the second index is completed, deleting the first index, and querying the first vector database based on the second index.

Patent Agency Ranking