Skip to content

Commit c4b75ef

Browse files
committed
Update chunker
1 parent 09b671b commit c4b75ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adi_function_app/semantic_text_chunker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def chunk(self, text: str) -> list[dict]:
8181

8282
logging.info(
8383
f"""Number of Forward pass chunks: {
84-
len(forward_pass_chunks)}"""
84+
len(forward_pass_chunks)}"""
8585
)
8686
logging.info(f"Forward pass chunks: {forward_pass_chunks}")
8787

@@ -93,7 +93,7 @@ async def chunk(self, text: str) -> list[dict]:
9393

9494
logging.info(
9595
f"""Number of Backaward pass chunks: {
96-
len(reversed_backwards_pass_chunks)}"""
96+
len(reversed_backwards_pass_chunks)}"""
9797
)
9898
logging.info(f"Backward pass chunks: {reversed_backwards_pass_chunks}")
9999

@@ -431,7 +431,7 @@ def sentence_similarity(self, text_1, text_2):
431431

432432
logging.debug(
433433
f"""Similarity between '{text_1}' and '{
434-
text_2}': {similarity}"""
434+
text_2}': {similarity}"""
435435
)
436436
return similarity
437437

0 commit comments

Comments
 (0)