Closed edeandrea closed 11 months ago
Thanks for the comment @Heezer ! I've resolved the conflicts.
Once this is released I'll incorporate it into https://github.com/langchain4j/langchain4j/issues/344
HI @edeandrea thanks for this! BTW why removing ApiKeyHeaderInjector
would be a breaking change?
Oh I guess it wouldn't be because it's not public
. Just realized that now.
Allow the organizationId to be specified in the configuration. See https://platform.openai.com/docs/api-reference/organization-optional
Right now there is no way to specify this.
Since this is also a header, I introduced a new
GenericHeaderInjector
and then also refactoredApiKeyHeaderInjector
andAuthorizationHeaderInjector
to use it. I didn't eliminateApiKeyHeaderInjector
andAuthorizationHeaderInjector
because that would have been a breaking change.I also added a few things to
.gitignore
that I noticed were added when I loaded the project into IntelliJ and ran a build locally.Fixes #6