File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
libs/ibm/tests/integration_tests Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2121WX_PROJECT_ID = os .environ .get ("WATSONX_PROJECT_ID" , "" )
2222
2323URL = "https://us-south.ml.cloud.ibm.com"
24- MODEL_ID = "ibm/granite-embedding-107m -multilingual"
24+ MODEL_ID = "ibm/granite-embedding-278m -multilingual"
2525
2626DOCUMENTS = ["What is a generative ai?" , "What is a loan and how does it works?" ]
2727
Original file line number Diff line number Diff line change 1010
1111URL = "https://us-south.ml.cloud.ibm.com"
1212
13- MODEL_ID = "ibm/granite-embedding-107m -multilingual"
13+ MODEL_ID = "ibm/granite-embedding-278m -multilingual"
1414
1515
1616class TestWatsonxEmbeddingsStandard (EmbeddingsIntegrationTests ):
Original file line number Diff line number Diff line change 1616
1717URL = "https://us-south.ml.cloud.ibm.com"
1818
19- MODEL_ID = "ibm/slate-125m-english-rtrvr"
19+ MODEL_ID = "ibm/slate-125m-english-rtrvr-v2 "
2020
2121CREATE_WATSONX_RERANK_INIT_PARAMETERS = [
2222 pytest .param (
@@ -82,7 +82,7 @@ def test_02_rerank_documents() -> None:
8282
8383
8484def test_02_rerank_documents_with_params () -> None :
85- params = RerankParameters (truncate_input_tokens = 1 )
85+ params = RerankParameters (truncate_input_tokens = 2 )
8686 test_documents = [
8787 Document (page_content = "This is a test document." ),
8888 ]
You can’t perform that action at this time.
0 commit comments