Skip to content

Commit

Permalink
Update haystack/nodes/prompt/invocation_layer/open_ai.py
Browse files Browse the repository at this point in the history
Co-authored-by: Madeesh Kannan <[email protected]>
  • Loading branch information
augchan42 and shadeMe authored Jan 30, 2024
1 parent ce1f489 commit 84d12fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/nodes/prompt/invocation_layer/open_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(
f"api_key {api_key} must be a valid OpenAI key. Visit https://openai.com/api/ to get one."
)
self.api_key = api_key
self.api_base = "https://api.openai.com/v1" if api_base is None else api_base
self.api_base = api_base
self.openai_organization = openai_organization
self.timeout = timeout

Expand Down

0 comments on commit 84d12fd

Please sign in to comment.