Skip to content

Commit

Permalink
add print
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisoSouza committed Aug 5, 2024
1 parent 7e3fa1e commit d820186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/rerank.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def rerank_chunks(
threshold: float = RERANK_THRESHOLD,
max_docs: int = 5,
):
print("[+ Rerank Chunks +]")
co = cohere.Client(RERANK_API_KEY)
responses = co.rerank(
model=RERANK_MODEL,
Expand Down

0 comments on commit d820186

Please sign in to comment.