Skip to content

Commit

Permalink
style: ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jjmachan committed Dec 13, 2024
1 parent 9fc57d2 commit 4bc50f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/ragas/optimizers/genetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,8 @@ def dict_to_str(dict: t.Dict[str, t.Any]) -> str:
),
expected_output=dataset[idx]["prompts"][prompt_name][
"edited_output"
] or dataset[idx]["prompts"][prompt_name][
"prompt_output"
],
]
or dataset[idx]["prompts"][prompt_name]["prompt_output"],
)
for idx in indices
]
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/test_langchain_llm_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from langchain_aws import ChatBedrock, ChatBedrockConverse
from langchain_google_genai import ChatGoogleGenerativeAI
from langchain_google_vertexai import ChatVertexAI
from langchain_openai import AzureChatOpenAI, ChatOpenAI
from langchain_openai import ChatOpenAI

models = [
ChatOpenAI(model="gpt-4o"),
Expand Down

0 comments on commit 4bc50f4

Please sign in to comment.