import { Types } from 'mongoose';
import { DbService } from 'src/db/db.service';
export declare class ChatBotService {
    private readonly model;
    private openai;
    constructor(model: DbService);
    generateEmbedding(text: string): Promise<number[]>;
    searchFoodByEmbedding(queryEmbedding: number[], topK?: number): Promise<any[]>;
    searchRestaurantByEmbedding(queryEmbedding: number[], topK?: number): Promise<any[]>;
    handleUserQuery(userId: string, query: string, chatId?: string, topK?: number): Promise<{
        reply: string;
        chatId: string;
        topFoods: any[];
        topRestaurants: any[];
    }>;
    getChatHistory(userId: string, chatSessionId: string): Promise<(import("mongoose").Document<unknown, {}, import("./entities/chat-bot.entity").ChatBotChatHistory, {}, {}> & import("./entities/chat-bot.entity").ChatBotChatHistory & {
        _id: Types.ObjectId;
    } & {
        __v: number;
    })[]>;
}
