Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add env SUMMARIZATION_MODEL to specify summarization model on the server side #3288

Conversation

nanaya-tachibana
Copy link
Contributor

@nanaya-tachibana nanaya-tachibana commented Nov 16, 2023

The idea originated from the discussion with @H0llyW00dzZ in #3260.

This patch can be useful when using custom models. Similar to the idea of #2583, user can use SUMMARIZATION_MODEL to specify a cheap and fast model for summarization while using a powerful model for chat.

  • when both SUMMARIZATION_MODEL and CUSTOM_MODELS are not set, gpt-3.5-turbo will be sent to client and be used for summarization. This is the same as the current logic.
  • if SUMMARIZATION_MODEL is set, the value will be used.
  • if SUMMARIZATION_MODEL is not set but CUSTOM_MODELS is set, "" will be sent to client and session model will be used on the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant