Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/hotfixes' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
fit-alessandro-berti committed Apr 1, 2024
2 parents 4f18516 + 21d56d0 commit b4dd032
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pm4py/algo/querying/llm/connectors/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from pm4py.util import exec_utils
from typing import Optional, Dict, Any
import base64
import requests
from pm4py.util import constants


Expand All @@ -35,6 +34,8 @@ def encode_image(image_path):


def apply(prompt: str, parameters: Optional[Dict[Any, Any]] = None) -> str:
import requests

if parameters is None:
parameters = {}

Expand Down

0 comments on commit b4dd032

Please sign in to comment.