-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
157 additions
and
134 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import pytest | ||
from nuclia.sdk.predict import NucliaPredict | ||
from nuclia.sdk.predict import AsyncNucliaPredict | ||
|
||
from regional.models import ALL_LLMS | ||
|
||
|
||
@pytest.mark.asyncio_cooperative | ||
@pytest.mark.parametrize("model", ALL_LLMS) | ||
def test_llm_generate(nua_config, model): | ||
np = NucliaPredict() | ||
generated = np.generate("Which is the capital of Catalonia?", model=model) | ||
async def test_llm_generate(nua_config, model): | ||
np = AsyncNucliaPredict() | ||
generated = await np.generate("Which is the capital of Catalonia?", model=model) | ||
Check failure on line 11 in nua/e2e/regional/test_llm_generate.py GitHub Actions / JUnit Test Reporttest_llm_generate.test_llm_generate[europe-1.stashify.cloud-chatgpt-vision]
Raw output
|
||
assert "Barcelona" in generated.answer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.