Skip to content

Commit

Permalink
Adapt latest changes for agentqna
Browse files Browse the repository at this point in the history
Use stream to follow OpenAI's API.
Rename the image name from agent-langchain to agent.

Signed-off-by: Dolpher Du <[email protected]>
  • Loading branch information
yongfengdu committed Jan 15, 2025
1 parent 7b35326 commit 7a71816
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions helm-charts/agentqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ worker:
service:
port: 9095
image:
repository: opea/agent-langchain
repository: opea/agent
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
Expand All @@ -84,7 +84,7 @@ supervisor:
service:
port: 9090
image:
repository: opea/agent-langchain
repository: opea/agent
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
Expand Down
14 changes: 7 additions & 7 deletions helm-charts/common/agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ curl http://localhost:9090/v1/chat/completions \

For global options, see Global Options.

| Key | Type | Default | Description |
| ------------------------------- | ------ | ------------------------ | ------------------------------- |
| global.HUGGINGFACEHUB_API_TOKEN | string | `""` | Your own Hugging Face API token |
| image.repository | string | `"opea/agent-langchain"` | |
| service.port | string | `"9090"` | |
| llm_endpoint_url | string | `""` | LLM endpoint |
| global.monitoring | bop; | false | Service usage metrics |
| Key | Type | Default | Description |
| ------------------------------- | ------ | -------------- | ------------------------------- |
| global.HUGGINGFACEHUB_API_TOKEN | string | `""` | Your own Hugging Face API token |
| image.repository | string | `"opea/agent"` | |
| service.port | string | `"9090"` | |
| llm_endpoint_url | string | `""` | LLM endpoint |
| global.monitoring | bop; | false | Service usage metrics |
2 changes: 1 addition & 1 deletion helm-charts/common/agent/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ data:
model: {{ .Values.model | quote }}
{{- end }}
{{- if .Values.streaming }}
streaming: {{ .Values.streaming | quote }}
stream: {{ .Values.streaming | quote }}
{{- end }}
{{- if .Values.temperature }}
temperature: {{ .Values.temperature | quote }}
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/common/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ require_human_feedback: "false"
LOGFLAG: "True"

image:
repository: opea/agent-langchain
repository: opea/agent
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
Expand Down

0 comments on commit 7a71816

Please sign in to comment.