Skip to content

Conversation

@eero-t
Copy link
Collaborator

@eero-t eero-t commented Jul 18, 2025

Description

Improve/shorten/fix Helm variable names [1]:

  • Consistent Helm variable naming: LLM_SERVICE/LLM_SERVER -> LLM_SERVER
  • Drop misleading/redundant _IP suffix: LLM_SERVER_HOST_IP -> LLM_SERVER_HOST

Add:

  • Examples on using OPEA KubeAI installation as external LLM
  • LLM_SERVER_PORT setting to everywhere LLM_SERVER_HOST is set
  • Comment about NGINX and data-prep / *-ui enabling dependency
  • Missing HF_TOKEN settings to external LLM usage examples
  • Missing Ollama disabling

See also PR #1167 for more general external inferencing support.

[1] Helm variables do not need to duplicate naming problems in OPEA applications: opea-project/GenAIExamples#2143.

Issues

Fixes incorrect external LLM variable name in CodeGen value file, missing HF_TOKENs in its README, and missing Ollama disabling in ChatQnA values file, that were added in PR #993.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would break existing design and interface)

Whether this breaks anything depends on whether something already depends on these values, but it's better to improve them before they get to release.

Dependencies

n/a

Tests

TODO.

Improve/shorten/fix Helm variable names:
- Consistent Helm variable naming: LLM_SERVICE/LLM_SERVER -> LLM_SERVER
- Drop misleading/redundant _IP suffix: LLM_SERVER_HOST_IP -> LLM_SERVER_HOST

(Helm variables do not need to duplicate naming problems in OPEA applications.)

Add:
- Examples on using OPEA KubeAI installation as external LLM
- LLM_SERVER_PORT setting to everywhere LLM_SERVER_HOST is set
- Comment that NGIX needs to be disabled if UI/data-prep is disabled [1]
- Missing HF_TOKEN settings to external LLM usage examples
- Missing Ollama disabling

[2] Otherwise Helm fails to parse NGINX template file.  Helm would
    fail also on "if .Values.data-prep.enabled" in that file, due to
    '-' in the component name, so best seemed just to add comment
    about the dependency.

Fixes: c977012

Signed-off-by: Eero Tamminen <[email protected]>
@poussa poussa self-requested a review July 29, 2025 10:49
@poussa poussa merged commit 278886c into opea-project:main Jul 29, 2025
9 of 32 checks passed
@eero-t eero-t deleted the external-kubeia branch August 11, 2025 09:45
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.

3 participants