Skip to content

Commit

Permalink
Adding parameters to self_kwargs (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mymoza authored Aug 1, 2023
1 parent 5cf0cef commit d2d61bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trulens_eval/trulens_eval/feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,7 @@ def __init__(

# TODO: why was self_kwargs required here independently of kwargs?
self_kwargs = dict()
self_kwargs.update(**kwargs)
self_kwargs['model_engine'] = model_engine
self_kwargs['endpoint'] = OpenAIEndpoint(*args, **kwargs)

Expand Down

0 comments on commit d2d61bb

Please sign in to comment.