Skip to content

OpenAI: remove deprecated APIs: remove default OpenAiTokenizer bean#124

Merged
dliubarskyi merged 1 commit intomainfrom
openai-remove-deprecated
Apr 1, 2025
Merged

OpenAI: remove deprecated APIs: remove default OpenAiTokenizer bean#124
dliubarskyi merged 1 commit intomainfrom
openai-remove-deprecated

Conversation

@dliubarskyi
Copy link
Member

Breaking Change

OpenAiTokenizer bean is no longer created automatically as there is no default constructor any more and there is no way to configure the model for the tokenizer.

This is a part of langchain4j/langchain4j#2792

General checklist

  • There are no breaking changes
  • I have added unit and/or integration tests for my change
  • The tests cover both positive and negative cases
  • I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
  • I have added/updated the documentation
  • I have added an example in the examples repo (only for "big" features)

@dliubarskyi dliubarskyi marked this pull request as ready for review April 1, 2025 08:04
@dliubarskyi dliubarskyi merged commit 98db18f into main Apr 1, 2025
0 of 6 checks passed
@dliubarskyi dliubarskyi deleted the openai-remove-deprecated branch April 1, 2025 08:04
@dliubarskyi dliubarskyi changed the title OpenAI: remove deprecated APIs OpenAI: remove deprecated APIs: remove default OpenAiTokenizer bean Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant