525GradioApp / processors /__init__.py
Ryan
update
e633a26
raw
history blame
977 Bytes
"""
Implementation of the processors package structure to ensure metrics.py is properly integrated
"""
# processors/__init__.py
# This file ensures the processors directory is treated as a Python package
# processors/metrics.py
# This file is already included in your project, but we need to make sure it's properly imported
# The path should be: processors/metrics.py
# processors/bow_analysis.py
# This is your existing file with the updated code to include similarity metrics
# Ensure the package structure is correct:
# - Project directory/
# - processors/
# - __init__.py
# - metrics.py
# - bow_analysis.py
# Here's a quick implementation of the __init__.py file:
"""
LLM Response Comparator processor modules
"""
# Import key functions to make them available from the package
from processors.metrics import calculate_similarity
from processors.bow_analysis import compare_bow
# You can add more imports as needed when implementing other analysis types