(test) caching tests

This commit is contained in:
ishaan-jaff 2023-10-20 15:00:40 -07:00
parent aa6a01904d
commit d8ab3ec2b9

View file

@ -58,7 +58,7 @@ def test_gpt_cache():
pytest.fail(f"Error occurred:")
test_gpt_cache()
# test_gpt_cache()
####### Updated Caching as of Aug 28, 2023 ###################
@ -79,7 +79,7 @@ def test_caching_v2():
print(f"error occurred: {traceback.format_exc()}")
pytest.fail(f"Error occurred: {e}")
test_caching_v2()
# test_caching_v2()
@ -103,7 +103,7 @@ def test_caching_with_models_v2():
print(f"response1: {response1}")
print(f"response2: {response2}")
pytest.fail(f"Error occurred:")
test_caching_with_models_v2()
# test_caching_with_models_v2()
embedding_large_text = """
small text
@ -132,7 +132,7 @@ def test_embedding_caching():
print(f"embedding2: {embedding2}")
pytest.fail("Error occurred: Embedding caching failed")
test_embedding_caching()
# test_embedding_caching()
def test_embedding_caching_azure():