File size: 977 Bytes
e633a26
 
 
fd06f0b
e633a26
fd06f0b
e633a26
 
 
fd06f0b
e633a26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""
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