<?php

namespace Limb_Chatbot\Includes\Interfaces;

use Limb_Chatbot\Includes\Utilities\Chatbot_Utility;

interface Product_Rerank_Interface {
	/**
	 * @param  array<int, mixed>  $products
	 *
	 * @return array{products: array<int, mixed>, message: string}
	 */
	public function rerank(
		array $products,
		string $query,
		string $conversation_context,
		Chatbot_Utility $utility
	): array;
}
