Set temp value to 0 to reduce the randomness of the output for vllm output#304
Set temp value to 0 to reduce the randomness of the output for vllm output#304tarukumar merged 2 commits intoopendatahub-io:mainfrom
Conversation
Signed-off-by: Tarun Kumar <takumar@redhat.com>
WalkthroughThe update modifies the Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant OpenAIPlugin
Caller->>OpenAIPlugin: Call _construct_request_data(endpoint_type, ...)
OpenAIPlugin->>OpenAIPlugin: Build data dictionary
OpenAIPlugin->>OpenAIPlugin: Set temperature = 0 for all endpoint types
OpenAIPlugin->>OpenAIPlugin: Add temperature to embeddings data
OpenAIPlugin-->>Caller: Return constructed request data
Poem
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code Graph Analysis (1)utilities/plugins/openai_plugin.py (1)
🔇 Additional comments (3)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
The following are automatically added/executed:
Available user actions:
Supported labels{'/wip', '/lgtm', '/verified', '/hold'} |
only reduce? shouldn't this completely eliminate any randomness from the output? |
|
Status of building tag latest: success. |
…ub-io#304) Signed-off-by: Tarun Kumar <takumar@redhat.com>
…ub-io#304) Signed-off-by: Tarun Kumar <takumar@redhat.com>
…ub-io#304) Signed-off-by: Tarun Kumar <takumar@redhat.com>
Summary by CodeRabbit