o
    h                     @   sP   d dl mZ d dlZddlmZ d dlmZ d dlmZ e Z	G dd dZ
dS )	    )HTTPExceptionN   )HashGenerator)UserJourney)MicrolearningDefaultsEstimatorc                   @   s   e Zd Zdd Zdd ZdS )UserInteractionServicec                 C   s>   t  | _|| _t|| _d| j d| _d| j d| _d S )Nzaudio/stage//zaudio/questions/)r   crew_instance
input_datar   generate_input_hash
input_hashsession_audioquestion_audio)selfr
    r   /home/azureuser/microlearn/backend/user_journey_with_openai/agentic_workflow/src/user_journey_service/services/user_interaction_service.py__init__   s
   zUserInteractionService.__init__c                 C   s    t d t| j}t | |S )NzInside user interaction service)printdefaults_estimatorestimate_defaultsr
   )r   outr   r   r   run   s   zUserInteractionService.runN)__name__
__module____qualname__r   r   r   r   r   r   r   
   s    r   )fastapir   osutils.hashingr   user_journey_service.crewr   2user_journey_service.processors.defaults_estimatorr   r   r   r   r   r   r   <module>   s    