Fix "OpenAI" & "response" spelling (#1561)
This commit is contained in:
@@ -60,7 +60,7 @@ This example showcases a hierarchical multi-agent system for question-answering
|
|||||||
```
|
```
|
||||||
6. Launch multi-agent system
|
6. Launch multi-agent system
|
||||||
|
|
||||||
The configurations of the supervisor agent and the worker agents are defined in the docker-compose yaml file. We currently use openAI GPT-4o-mini as LLM.
|
The configurations of the supervisor agent and the worker agents are defined in the docker-compose yaml file. We currently use OpenAI GPT-4o-mini as LLM.
|
||||||
|
|
||||||
```
|
```
|
||||||
cd $WORKDIR/GenAIExamples/AgentQnA/docker_compose/intel/cpu/xeon
|
cd $WORKDIR/GenAIExamples/AgentQnA/docker_compose/intel/cpu/xeon
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ def align_outputs(self, data, cur_node, inputs, runtime_graph, llm_parameters_di
|
|||||||
|
|
||||||
|
|
||||||
def align_generator(self, gen, **kwargs):
|
def align_generator(self, gen, **kwargs):
|
||||||
# openai reaponse format
|
# OpenAI response format
|
||||||
# b'data:{"id":"","object":"text_completion","created":1725530204,"model":"meta-llama/Meta-Llama-3-8B-Instruct","system_fingerprint":"2.0.1-native","choices":[{"index":0,"delta":{"role":"assistant","content":"?"},"logprobs":null,"finish_reason":null}]}\n\n'
|
# b'data:{"id":"","object":"text_completion","created":1725530204,"model":"meta-llama/Meta-Llama-3-8B-Instruct","system_fingerprint":"2.0.1-native","choices":[{"index":0,"delta":{"role":"assistant","content":"?"},"logprobs":null,"finish_reason":null}]}\n\n'
|
||||||
for line in gen:
|
for line in gen:
|
||||||
line = line.decode("utf-8")
|
line = line.decode("utf-8")
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ def align_outputs(self, data, cur_node, inputs, runtime_graph, llm_parameters_di
|
|||||||
|
|
||||||
|
|
||||||
def align_generator(self, gen, **kwargs):
|
def align_generator(self, gen, **kwargs):
|
||||||
# openai reaponse format
|
# OpenAI response format
|
||||||
# b'data:{"id":"","object":"text_completion","created":1725530204,"model":"meta-llama/Meta-Llama-3-8B-Instruct","system_fingerprint":"2.0.1-native","choices":[{"index":0,"delta":{"role":"assistant","content":"?"},"logprobs":null,"finish_reason":null}]}\n\n'
|
# b'data:{"id":"","object":"text_completion","created":1725530204,"model":"meta-llama/Meta-Llama-3-8B-Instruct","system_fingerprint":"2.0.1-native","choices":[{"index":0,"delta":{"role":"assistant","content":"?"},"logprobs":null,"finish_reason":null}]}\n\n'
|
||||||
print("generator in align generator:\n", gen)
|
print("generator in align generator:\n", gen)
|
||||||
for line in gen:
|
for line in gen:
|
||||||
|
|||||||
Reference in New Issue
Block a user