Skip to content

Commit

Permalink
fix(ci): remove debug print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
thehapyone committed Feb 19, 2024
1 parent 1b58e66 commit 8bd362a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ def compress_documents(
add_instruction=True,
**self.additional_compress_kwargs,
)
print(compressed_prompt)
compreseed_context = compressed_prompt["compressed_prompt"].split("\n\n")[1:]

extracted_metadata = self.extract_ref_id_tuples_and_clean(compreseed_context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def test_compress_documents_with_documents(
Document(page_content="Content of document 1", metadata={"id": "1"}),
]
compressed_docs = llm_lingua_compressor.compress_documents(docs, "query")
print(compressed_docs)
assert len(compressed_docs) == 2
assert compressed_docs[0].page_content == "Compressed content for document 0"
assert compressed_docs[0].metadata == {"id": "0"}
Expand Down

0 comments on commit 8bd362a

Please sign in to comment.