chunk_id stringlengths 36 36 | source stringclasses 35
values | source_url stringlengths 0 290 | upstream_license stringclasses 1
value | document_id stringlengths 36 36 | chunk_index int64 0 324k | retrieved_at stringclasses 2
values | chunker_version stringclasses 4
values | content_hash stringlengths 15 64 | content stringlengths 50 44.7k | namespace stringclasses 9
values | source_name stringclasses 35
values | raw_text stringlengths 50 44.7k | cleaned_text stringlengths 50 44.7k | tags stringclasses 49
values | collection_name stringclasses 11
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
efb4e1bb-b91a-4de6-be3c-5fbfe6f6a7e8 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/k8s_helm.md | unknown | f8424b32-9e7e-493f-9934-cad335b62634 | 38 | opea-semantic-v1 | 34ffd82a5d762945 | the pods' statuses are 'Running'. To perform a quick sanity check, use the command `kubectl get pods` to see if all the pods are active.
When issues are encountered with a pod in the Kubernetes deployment, there are two primary commands to diagnose and potentially resolve problems:
1. **Checking Logs**: To view the log... | ai_ref_knowledge | OPEA Documentation | the pods' statuses are 'Running'. To perform a quick sanity check, use the command `kubectl get pods` to see if all the pods are active.
When issues are encountered with a pod in the Kubernetes deployment, there are two primary commands to diagnose and potentially resolve problems:
1. **Checking Logs**: To view the log... | the pods' statuses are 'Running'. To perform a quick sanity check, use the command `kubectl get pods` to see if all the pods are active.
When issues are encountered with a pod in the Kubernetes deployment, there are two primary commands to diagnose and potentially resolve problems:
1. **Checking Logs**: To view the log... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
f0b68ee3-6d2d-4cbf-ad56-d0bfea982b3b | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/k8s_helm.md | unknown | f8424b32-9e7e-493f-9934-cad335b62634 | 71 | opea-semantic-v1 | 0f1980a5d898ff6e | the following command to forward traffic from your local machine to the TEI service running in your Kubernetes cluster: ```bash kubectl port-forward svc/chatqna-tei 6006:80 &
Test the service: | ai_ref_knowledge | OPEA Documentation | the following command to forward traffic from your local machine to the TEI service running in your Kubernetes cluster: ```bash kubectl port-forward svc/chatqna-tei 6006:80 &
Test the service: | the following command to forward traffic from your local machine to the TEI service running in your Kubernetes cluster: ```bash kubectl port-forward svc/chatqna-tei 6006:80 &
Test the service: | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
fa30acc3-22c2-4a45-a0c4-417f792cd985 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/k8s_helm.md | unknown | f8424b32-9e7e-493f-9934-cad335b62634 | 103 | opea-semantic-v1 | 592f0eddb9a4762f | curl: (7) Failed to connect to localhost port 8008 after 0 ms: Connection refused
And the log shows the model warm-up, please wait for a while and retry. | ai_ref_knowledge | OPEA Documentation | curl: (7) Failed to connect to localhost port 8008 after 0 ms: Connection refused
And the log shows the model warm-up, please wait for a while and retry. | curl: (7) Failed to connect to localhost port 8008 after 0 ms: Connection refused
And the log shows the model warm-up, please wait for a while and retry. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
fac39a29-e312-4ae0-bc16-2e11dc2c145c | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/k8s_helm.md | unknown | f8424b32-9e7e-493f-9934-cad335b62634 | 68 | opea-semantic-v1 | 290f501bbe327261 | data: b' for' data: b' Enterprise' data: b' AI' data: b')', . . . data: b' systems' data: b'.' data: b'' data: b'' data: [DONE]
The above output has been parsed into the below sentence which shows how the LLM has picked up the right context to answer the question correctly after the document upload: | ai_ref_knowledge | OPEA Documentation | data: b' for' data: b' Enterprise' data: b' AI' data: b')', . . . data: b' systems' data: b'.' data: b'' data: b'' data: [DONE]
The above output has been parsed into the below sentence which shows how the LLM has picked up the right context to answer the question correctly after the document upload: | data: b' for' data: b' Enterprise' data: b' AI' data: b')', . . . data: b' systems' data: b'.' data: b'' data: b'' data: [DONE]
The above output has been parsed into the below sentence which shows how the LLM has picked up the right context to answer the question correctly after the document upload: | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
fb2c81c4-b4b4-46eb-b1f9-4e33815b3f78 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/k8s_helm.md | unknown | f8424b32-9e7e-493f-9934-cad335b62634 | 60 | opea-semantic-v1 | 0b940092467b7e01 | data, embeds each chunk using the embedding microservice, and stores the embedded vectors in the vector database, in our current example a Redis Vector database.
This example leverages the OPEA document for its RAG-based content. You can download the [OPEA document](https://opea-project.github.io/latest/_downloads/41c9... | ai_ref_knowledge | OPEA Documentation | data, embeds each chunk using the embedding microservice, and stores the embedded vectors in the vector database, in our current example a Redis Vector database.
This example leverages the OPEA document for its RAG-based content. You can download the [OPEA document](https://opea-project.github.io/latest/_downloads/41c9... | data, embeds each chunk using the embedding microservice, and stores the embedded vectors in the vector database, in our current example a Redis Vector database.
This example leverages the OPEA document for its RAG-based content. You can download the [OPEA document](https://opea-project.github.io/latest/_downloads/41c9... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
fc519831-c920-4ff5-bfa3-10d00f849d10 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/k8s_helm.md | unknown | f8424b32-9e7e-493f-9934-cad335b62634 | 80 | opea-semantic-v1 | 56dd03c9ff356dd2 | export your_embedding=$(python3 -c "import random; embedding = [random.uniform(-1, 1) for _ in range(768)]; print(embedding)")
curl http://localhost:7000/v1/retrieval \
-X POST \
-d "{\"text\":\"test\",\"embedding\":${your_embedding}}" \
-H 'Content-Type: application/json' | ai_ref_knowledge | OPEA Documentation | export your_embedding=$(python3 -c "import random; embedding = [random.uniform(-1, 1) for _ in range(768)]; print(embedding)")
curl http://localhost:7000/v1/retrieval \
-X POST \
-d "{\"text\":\"test\",\"embedding\":${your_embedding}}" \
-H 'Content-Type: application/json' | export your_embedding=$(python3 -c "import random; embedding = [random.uniform(-1, 1) for _ in range(768)]; print(embedding)")
curl http://localhost:7000/v1/retrieval \
-X POST \
-d "{\"text\":\"test\",\"embedding\":${your_embedding}}" \
-H 'Content-Type: application/json' | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
ff1d6ce9-419d-4d02-830e-b76a5a54ce1f | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/k8s_helm.md | unknown | f8424b32-9e7e-493f-9934-cad335b62634 | 84 | opea-semantic-v1 | 6e55a9e5e689210d | and scalability. This modular approach allows developers to independently develop,\ndeploy, and scale individual components of the application, making it easier to maintain and\nevolve over time.
All of the microservices are containerized, allowing cloud native deployment.Megaservices: A Comprehensive Solution\nMegaser... | ai_ref_knowledge | OPEA Documentation | and scalability. This modular approach allows developers to independently develop,\ndeploy, and scale individual components of the application, making it easier to maintain and\nevolve over time.
All of the microservices are containerized, allowing cloud native deployment.Megaservices: A Comprehensive Solution\nMegaser... | and scalability. This modular approach allows developers to independently develop,\ndeploy, and scale individual components of the application, making it easier to maintain and\nevolve over time.
All of the microservices are containerized, allowing cloud native deployment.Megaservices: A Comprehensive Solution\nMegaser... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
1c472aa5-af00-4862-88bf-76a13edce27b | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 11 | opea-semantic-v1 | 5c1f82a855c36fb5 | ::::{tab-set} :::{tab-item} TGI
ubuntu@nvidia-vm:~/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu$ docker compose -f ./compose.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN[... | ai_ref_knowledge | OPEA Documentation | ::::{tab-set} :::{tab-item} TGI
ubuntu@nvidia-vm:~/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu$ docker compose -f ./compose.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN[... | ::::{tab-set} :::{tab-item} TGI
ubuntu@nvidia-vm:~/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu$ docker compose -f ./compose.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN[... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
28a44ee3-8cde-4b9e-9f3e-dfadc83e1bda | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 9 | opea-semantic-v1 | 97091e45e0f49e22 | Run `docker compose` with the provided YAML file to start all the services mentioned above as containers.
::::{tab-set}
:::{tab-item} TGI | ai_ref_knowledge | OPEA Documentation | Run `docker compose` with the provided YAML file to start all the services mentioned above as containers.
::::{tab-set}
:::{tab-item} TGI | Run `docker compose` with the provided YAML file to start all the services mentioned above as containers.
::::{tab-set}
:::{tab-item} TGI | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
2d7d001e-2a3f-4f3d-ab44-fa5762debaf8 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 17 | opea-semantic-v1 | 45b3b1ad98ff29b8 | command below to check whether the LLM service is ready. The output should be "INFO text_generation_router::server: router/src/server.rs:2311: Connected" ```bash docker logs tgi-service | grep Connected
Run the command below to use the TGI service to generate text for the input prompt. Sample output is also shown. ```b... | ai_ref_knowledge | OPEA Documentation | command below to check whether the LLM service is ready. The output should be "INFO text_generation_router::server: router/src/server.rs:2311: Connected" ```bash docker logs tgi-service | grep Connected
Run the command below to use the TGI service to generate text for the input prompt. Sample output is also shown. ```b... | command below to check whether the LLM service is ready. The output should be "INFO text_generation_router::server: router/src/server.rs:2311: Connected" ```bash docker logs tgi-service | grep Connected
Run the command below to use the TGI service to generate text for the input prompt. Sample output is also shown. ```b... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
2e556cce-a497-4d44-a47b-7d4ddaedac15 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 22 | opea-semantic-v1 | b62b51ace7db7596 | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu
To stop and remove all the containers, use the command below:
::::{tab-set}
:::{tab-item} TGI | ai_ref_knowledge | OPEA Documentation | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu
To stop and remove all the containers, use the command below:
::::{tab-set}
:::{tab-item} TGI | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu
To stop and remove all the containers, use the command below:
::::{tab-set}
:::{tab-item} TGI | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
31585696-d9bb-41fd-b99a-b01c1089112a | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 8 | opea-semantic-v1 | 7b7924580997597d | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
```bash
cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu
source ./set_env.sh | ai_ref_knowledge | OPEA Documentation | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
```bash
cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu
source ./set_env.sh | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
```bash
cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu
source ./set_env.sh | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
39e99930-b8f1-4599-b3cc-09a49255769d | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 23 | opea-semantic-v1 | 790ae2fb92182490 | To stop and remove all the containers, use the command below: ::::{tab-set} :::{tab-item} TGI
```bash
docker compose -f compose.yaml down | ai_ref_knowledge | OPEA Documentation | To stop and remove all the containers, use the command below: ::::{tab-set} :::{tab-item} TGI
```bash
docker compose -f compose.yaml down | To stop and remove all the containers, use the command below: ::::{tab-set} :::{tab-item} TGI
```bash
docker compose -f compose.yaml down | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
413cbd3a-a855-491f-9b78-e2a0fd80a42a | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 7 | opea-semantic-v1 | 8557af3110703b88 | | TEI | BAAI/bge-reranker-base | OPEA Microservice | |LLM | TGI | meta-llama/Meta-Llama-3-8B-Instruct | OPEA Microservice | |UI | | NA | Gateway Service |
:::
:::: | ai_ref_knowledge | OPEA Documentation | | TEI | BAAI/bge-reranker-base | OPEA Microservice | |LLM | TGI | meta-llama/Meta-Llama-3-8B-Instruct | OPEA Microservice | |UI | | NA | Gateway Service |
:::
:::: | | TEI | BAAI/bge-reranker-base | OPEA Microservice | |LLM | TGI | meta-llama/Meta-Llama-3-8B-Instruct | OPEA Microservice | |UI | | NA | Gateway Service |
:::
:::: | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
47cb3f16-fd81-4dd5-befe-612f7b276090 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 4 | opea-semantic-v1 | 2e72a21ebdd017d9 | Set the NGINX port. ```bash # Example: NGINX_PORT=80 export NGINX_PORT=<Nginx_Port>
For machines behind a firewall, set up the proxy environment variables:
```bash
export http_proxy="Your_HTTP_Proxy"
export https_proxy="Your_HTTPs_Proxy"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_P... | ai_ref_knowledge | OPEA Documentation | Set the NGINX port. ```bash # Example: NGINX_PORT=80 export NGINX_PORT=<Nginx_Port>
For machines behind a firewall, set up the proxy environment variables:
```bash
export http_proxy="Your_HTTP_Proxy"
export https_proxy="Your_HTTPs_Proxy"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_P... | Set the NGINX port. ```bash # Example: NGINX_PORT=80 export NGINX_PORT=<Nginx_Port>
For machines behind a firewall, set up the proxy environment variables:
```bash
export http_proxy="Your_HTTP_Proxy"
export https_proxy="Your_HTTPs_Proxy"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_P... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
4ce33627-ae1f-4249-9be0-13e80524a7c1 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 19 | opea-semantic-v1 | 7ed2d2027a2c6076 | ### ChatQnA MegaService
This will ensure the megaservice is working properly. ```bash
curl http://${host_ip}:8888/v1/chatqna -H "Content-Type: application/json" -d '{
"messages": "What is the revenue of Nike in 2023?"
}' | ai_ref_knowledge | OPEA Documentation | ### ChatQnA MegaService
This will ensure the megaservice is working properly. ```bash
curl http://${host_ip}:8888/v1/chatqna -H "Content-Type: application/json" -d '{
"messages": "What is the revenue of Nike in 2023?"
}' | ### ChatQnA MegaService
This will ensure the megaservice is working properly. ```bash
curl http://${host_ip}:8888/v1/chatqna -H "Content-Type: application/json" -d '{
"messages": "What is the revenue of Nike in 2023?"
}' | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
4f7f485b-93f8-4062-ab72-d330b97166c6 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 15 | opea-semantic-v1 | 5784cadb4c1c1111 | ### TGI Service
During the initial startup, this service will take a few minutes to download the model files and complete the warm-up process. Once this is finished, the service will be ready for use. | ai_ref_knowledge | OPEA Documentation | ### TGI Service
During the initial startup, this service will take a few minutes to download the model files and complete the warm-up process. Once this is finished, the service will be ready for use. | ### TGI Service
During the initial startup, this service will take a few minutes to download the model files and complete the warm-up process. Once this is finished, the service will be ready for use. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
59dff46a-9fc2-490f-b7f4-cae3e966d8c8 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 12 | opea-semantic-v1 | 075e80bbfb2ae8ef | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu/compose.yaml: `version` is obsolete
::... | ai_ref_knowledge | OPEA Documentation | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu/compose.yaml: `version` is obsolete
::... | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/nvidia/gpu/compose.yaml: `version` is obsolete
::... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
5f053450-58d5-49a5-b65a-ffc3bad6c10a | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 20 | opea-semantic-v1 | 237fbc9b3626fa3e | ### Basic UI
To access the frontend, open the following URL in your browser: http://${host_ip}:${NGINX_PORT}. By default, the UI runs on port 5173 internally. If you prefer to use a different to access the frontend by modifying the port mapping in the `compose.yaml` file as shown below:
```yaml
chatqna-ui-server:
ima... | ai_ref_knowledge | OPEA Documentation | ### Basic UI
To access the frontend, open the following URL in your browser: http://${host_ip}:${NGINX_PORT}. By default, the UI runs on port 5173 internally. If you prefer to use a different to access the frontend by modifying the port mapping in the `compose.yaml` file as shown below:
```yaml
chatqna-ui-server:
ima... | ### Basic UI
To access the frontend, open the following URL in your browser: http://${host_ip}:${NGINX_PORT}. By default, the UI runs on port 5173 internally. If you prefer to use a different to access the frontend by modifying the port mapping in the `compose.yaml` file as shown below:
```yaml
chatqna-ui-server:
ima... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
677bab90-a256-481f-aca1-f8593d56630d | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 2 | opea-semantic-v1 | d8a9ac902df8700a | The OPEA GenAIComps microservices used to deploy a single node vLLM or TGI megaservice solution for ChatQnA are listed below:
1. Data Prep
2. Embedding
3. Retriever
4. Reranking
5. LLM with TGI | ai_ref_knowledge | OPEA Documentation | The OPEA GenAIComps microservices used to deploy a single node vLLM or TGI megaservice solution for ChatQnA are listed below:
1. Data Prep
2. Embedding
3. Retriever
4. Reranking
5. LLM with TGI | The OPEA GenAIComps microservices used to deploy a single node vLLM or TGI megaservice solution for ChatQnA are listed below:
1. Data Prep
2. Embedding
3. Retriever
4. Reranking
5. LLM with TGI | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
7a779fb1-0bbd-463e-b6b5-f585be0a4f99 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 21 | opea-semantic-v1 | a1059e38941268de | the port mapping in the `compose.yaml` file as shown below: ```yaml chatqna-ui-server: image: opea/chatqna-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, rebuild and restart the containers for the change to take effect. | ai_ref_knowledge | OPEA Documentation | the port mapping in the `compose.yaml` file as shown below: ```yaml chatqna-ui-server: image: opea/chatqna-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, rebuild and restart the containers for the change to take effect. | the port mapping in the `compose.yaml` file as shown below: ```yaml chatqna-ui-server: image: opea/chatqna-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, rebuild and restart the containers for the change to take effect. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
81a1eb71-cb26-4a30-9e3e-3d8c09b2f524 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 16 | opea-semantic-v1 | 20e1ad521b934723 | :::{tab-item} TGI
Run the command below to check whether the LLM service is ready. The output should be "INFO text_generation_router::server: router/src/server.rs:2311: Connected"
```bash
docker logs tgi-service | grep Connected | ai_ref_knowledge | OPEA Documentation | :::{tab-item} TGI
Run the command below to check whether the LLM service is ready. The output should be "INFO text_generation_router::server: router/src/server.rs:2311: Connected"
```bash
docker logs tgi-service | grep Connected | :::{tab-item} TGI
Run the command below to check whether the LLM service is ready. The output should be "INFO text_generation_router::server: router/src/server.rs:2311: Connected"
```bash
docker logs tgi-service | grep Connected | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
82f3e08e-0472-4f3d-b78e-e1622e47fd74 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 1 | opea-semantic-v1 | 7fc940bd55396257 | but this tutorial will be covering how to build an end-to-end ChatQnA pipeline with the Redis vector database and meta-llama/Meta-Llama-3-8B-Instruct model deployed on NVIDIA GPUs.
## Overview | ai_ref_knowledge | OPEA Documentation | but this tutorial will be covering how to build an end-to-end ChatQnA pipeline with the Redis vector database and meta-llama/Meta-Llama-3-8B-Instruct model deployed on NVIDIA GPUs.
## Overview | but this tutorial will be covering how to build an end-to-end ChatQnA pipeline with the Redis vector database and meta-llama/Meta-Llama-3-8B-Instruct model deployed on NVIDIA GPUs.
## Overview | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
91c21142-9ece-4e6e-b685-c9503312833a | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 5 | opea-semantic-v1 | 94c706023748f6de | For machines behind a firewall, set up the proxy environment variables: ```bash export http_proxy="Your_HTTP_Proxy" export https_proxy="Your_HTTPs_Proxy" # Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1" export no_proxy="Your_No_Proxy",chatqna-ui-server,chatqna-backend-server,dataprep-redis-service,tei-embedding-... | ai_ref_knowledge | OPEA Documentation | For machines behind a firewall, set up the proxy environment variables: ```bash export http_proxy="Your_HTTP_Proxy" export https_proxy="Your_HTTPs_Proxy" # Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1" export no_proxy="Your_No_Proxy",chatqna-ui-server,chatqna-backend-server,dataprep-redis-service,tei-embedding-... | For machines behind a firewall, set up the proxy environment variables: ```bash export http_proxy="Your_HTTP_Proxy" export https_proxy="Your_HTTPs_Proxy" # Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1" export no_proxy="Your_No_Proxy",chatqna-ui-server,chatqna-backend-server,dataprep-redis-service,tei-embedding-... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
95aa13f9-26c5-4fe0-b13c-1972c7f35507 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 0 | opea-semantic-v1 | 7f241b342890fd75 | # Single node on-prem deployment with TGI on Nvidia gpu
This section covers single-node on-prem deployment of the ChatQnA example using the TGI LLM service. There are several ways to enable RAG with vectordb and LLM models, but this tutorial will be covering how to build an end-to-end ChatQnA pipeline with the Redis ve... | ai_ref_knowledge | OPEA Documentation | # Single node on-prem deployment with TGI on Nvidia gpu
This section covers single-node on-prem deployment of the ChatQnA example using the TGI LLM service. There are several ways to enable RAG with vectordb and LLM models, but this tutorial will be covering how to build an end-to-end ChatQnA pipeline with the Redis ve... | # Single node on-prem deployment with TGI on Nvidia gpu
This section covers single-node on-prem deployment of the ChatQnA example using the TGI LLM service. There are several ways to enable RAG with vectordb and LLM models, but this tutorial will be covering how to build an end-to-end ChatQnA pipeline with the Redis ve... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
a19533f5-c850-467c-85b9-04db8d508e7f | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 10 | opea-semantic-v1 | 604c0fcf5e96a179 | ### Check Env Variables After running `docker compose`, check for warning messages for environment variables that are **NOT** set. Address them if needed.
::::{tab-set}
:::{tab-item} TGI | ai_ref_knowledge | OPEA Documentation | ### Check Env Variables After running `docker compose`, check for warning messages for environment variables that are **NOT** set. Address them if needed.
::::{tab-set}
:::{tab-item} TGI | ### Check Env Variables After running `docker compose`, check for warning messages for environment variables that are **NOT** set. Address them if needed.
::::{tab-set}
:::{tab-item} TGI | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
b04fff3d-3187-40d6-9701-45a34279260f | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 13 | opea-semantic-v1 | 0f61ec8d2caf7fb0 | Sample output: ::::{tab-set} :::{tab-item} TGI
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3b5fa9a722da opea/chatqna-ui:latest "docker-entrypoint.s…" 32 hours ago Up 2 hours 0.0.0.0:5173->5173/tcp, :::5173->5173/tcp chatqna-ui-server
d3b37f3d1faa opea/chatqna:latest "python chatqna.py" 32 hours ago Up... | ai_ref_knowledge | OPEA Documentation | Sample output: ::::{tab-set} :::{tab-item} TGI
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3b5fa9a722da opea/chatqna-ui:latest "docker-entrypoint.s…" 32 hours ago Up 2 hours 0.0.0.0:5173->5173/tcp, :::5173->5173/tcp chatqna-ui-server
d3b37f3d1faa opea/chatqna:latest "python chatqna.py" 32 hours ago Up... | Sample output: ::::{tab-set} :::{tab-item} TGI
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3b5fa9a722da opea/chatqna-ui:latest "docker-entrypoint.s…" 32 hours ago Up 2 hours 0.0.0.0:5173->5173/tcp, :::5173->5173/tcp chatqna-ui-server
d3b37f3d1faa opea/chatqna:latest "python chatqna.py" 32 hours ago Up... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
cf019bb8-6e5c-4500-a4d7-02c6cb171b4e | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 14 | opea-semantic-v1 | 9177d87b3643bbbd | redis-vector-db 79276cf45a47 ghcr.io/huggingface/text-embeddings-inference:cpu-1.2 "text-embeddings-rou…" 32 hours ago Up 2 hours 0.0.0.0:8090->80/tcp, :::8090->80/tcp tei-embedding-server 4943e5f6cd80 ghcr.io/huggingface/text-embeddings-inference:cpu-1.2 "text-embeddings-rou…" 32 hours ago Up 2 hours 0.0.0.0:8808->80/... | ai_ref_knowledge | OPEA Documentation | redis-vector-db 79276cf45a47 ghcr.io/huggingface/text-embeddings-inference:cpu-1.2 "text-embeddings-rou…" 32 hours ago Up 2 hours 0.0.0.0:8090->80/tcp, :::8090->80/tcp tei-embedding-server 4943e5f6cd80 ghcr.io/huggingface/text-embeddings-inference:cpu-1.2 "text-embeddings-rou…" 32 hours ago Up 2 hours 0.0.0.0:8808->80/... | redis-vector-db 79276cf45a47 ghcr.io/huggingface/text-embeddings-inference:cpu-1.2 "text-embeddings-rou…" 32 hours ago Up 2 hours 0.0.0.0:8090->80/tcp, :::8090->80/tcp tei-embedding-server 4943e5f6cd80 ghcr.io/huggingface/text-embeddings-inference:cpu-1.2 "text-embeddings-rou…" 32 hours ago Up 2 hours 0.0.0.0:8808->80/... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
d563911f-0f8c-40b2-8e35-6228463e1668 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 18 | opea-semantic-v1 | 9a36b1bbcd33e546 | Sample output is also shown. ```bash curl http://${host_ip}:8008/generate \ -X POST \ -d '{"inputs":"What is Deep Learning?", \ "parameters":{"max_new_tokens":17, "do_sample": true}}' \ -H 'Content-Type: application/json'
```bash
{"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","object":"chat.completion","created":174... | ai_ref_knowledge | OPEA Documentation | Sample output is also shown. ```bash curl http://${host_ip}:8008/generate \ -X POST \ -d '{"inputs":"What is Deep Learning?", \ "parameters":{"max_new_tokens":17, "do_sample": true}}' \ -H 'Content-Type: application/json'
```bash
{"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","object":"chat.completion","created":174... | Sample output is also shown. ```bash curl http://${host_ip}:8008/generate \ -X POST \ -d '{"inputs":"What is Deep Learning?", \ "parameters":{"max_new_tokens":17, "do_sample": true}}' \ -H 'Content-Type: application/json'
```bash
{"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","object":"chat.completion","created":174... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
e64eaeae-992b-47bd-af9b-2895fbc4df31 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 3 | opea-semantic-v1 | 413955403536d919 | 1. Data Prep 2. Embedding 3. Retriever 4. Reranking 5. LLM with TGI
This solution is designed to demonstrate the use of Redis vectorDB for RAG and the Meta-Llama-3-8B-Instruct model for LLM inference on NVIDIA GPUs. The steps will involve setting up Docker containers, using a sample Nike dataset in PDF format, and posi... | ai_ref_knowledge | OPEA Documentation | 1. Data Prep 2. Embedding 3. Retriever 4. Reranking 5. LLM with TGI
This solution is designed to demonstrate the use of Redis vectorDB for RAG and the Meta-Llama-3-8B-Instruct model for LLM inference on NVIDIA GPUs. The steps will involve setting up Docker containers, using a sample Nike dataset in PDF format, and posi... | 1. Data Prep 2. Embedding 3. Retriever 4. Reranking 5. LLM with TGI
This solution is designed to demonstrate the use of Redis vectorDB for RAG and the Meta-Llama-3-8B-Instruct model for LLM inference on NVIDIA GPUs. The steps will involve setting up Docker containers, using a sample Nike dataset in PDF format, and posi... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
f2c3519a-85a0-4840-a379-d0f392a38e5f | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/nvidia.md | unknown | 3eb4cd63-7238-472a-8509-bf08bfca1261 | 6 | opea-semantic-v1 | 51b4d761dc31c926 | :::{tab-item} TGI
|use case components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|Data Prep | LangChain | NA | OPEA Microservice |
|VectorDB | Redis | NA | Open source service |
|Embedding | TEI | BAAI/bge-base-en-v1.5 | OPEA Microservice |
|Reranking | TE... | ai_ref_knowledge | OPEA Documentation | :::{tab-item} TGI
|use case components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|Data Prep | LangChain | NA | OPEA Microservice |
|VectorDB | Redis | NA | Open source service |
|Embedding | TEI | BAAI/bge-base-en-v1.5 | OPEA Microservice |
|Reranking | TE... | :::{tab-item} TGI
|use case components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|Data Prep | LangChain | NA | OPEA Microservice |
|VectorDB | Redis | NA | Open source service |
|Embedding | TEI | BAAI/bge-base-en-v1.5 | OPEA Microservice |
|Reranking | TE... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
1210c4c4-10e5-4181-8e3a-e3ec96c70399 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 6 | opea-semantic-v1 | cc88a26d7601ad42 | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
```bash
cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon
source ./set_env.sh | ai_ref_knowledge | OPEA Documentation | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
```bash
cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon
source ./set_env.sh | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
```bash
cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon
source ./set_env.sh | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
2bebf1f2-e48c-49e3-a34b-386aaf7960e3 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 12 | opea-semantic-v1 | b8d270306112249e | redis/redis-stack:7.2.0-v9 "/entrypoint.sh" 37 minutes ago Up 37 minutes 0.0.0.0:6379->6379/tcp, [::]:6379->6379/tcp, 0.0.0.0:8001->8001/tcp, [::]:8001->8001/tcp redis-vector-db df543e8425ea ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 37 minutes ago Up 37 minutes 0.0.0.0:6006->80/tcp, [... | ai_ref_knowledge | OPEA Documentation | redis/redis-stack:7.2.0-v9 "/entrypoint.sh" 37 minutes ago Up 37 minutes 0.0.0.0:6379->6379/tcp, [::]:6379->6379/tcp, 0.0.0.0:8001->8001/tcp, [::]:8001->8001/tcp redis-vector-db df543e8425ea ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 37 minutes ago Up 37 minutes 0.0.0.0:6006->80/tcp, [... | redis/redis-stack:7.2.0-v9 "/entrypoint.sh" 37 minutes ago Up 37 minutes 0.0.0.0:6379->6379/tcp, [::]:6379->6379/tcp, 0.0.0.0:8001->8001/tcp, [::]:8001->8001/tcp redis-vector-db df543e8425ea ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 37 minutes ago Up 37 minutes 0.0.0.0:6006->80/tcp, [... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
2c8a985d-c9dd-421c-a241-df770a54a10e | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 9 | opea-semantic-v1 | 3d30a7958d1b75ca | :::{tab-item} TGI
ubuntu@xeon-vm:~/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon$ docker compose -f compose_tgi.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN[0000] The ... | ai_ref_knowledge | OPEA Documentation | :::{tab-item} TGI
ubuntu@xeon-vm:~/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon$ docker compose -f compose_tgi.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN[0000] The ... | :::{tab-item} TGI
ubuntu@xeon-vm:~/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon$ docker compose -f compose_tgi.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN[0000] The ... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
34ec80c6-8d76-40bc-9797-0870c1e0c924 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 16 | opea-semantic-v1 | 214b169a8e63ebf6 | also shown. ```bash curl http://${host_ip}:9009/v1/chat/completions \ -X POST \ -d '{"model": "meta-llama/Meta-Llama-3-8B-Instruct", "messages": [{"role": "user", "content": "What is Deep Learning?"}], "max_tokens":17}' \ -H 'Content-Type: application/json'
```bash
{"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","obj... | ai_ref_knowledge | OPEA Documentation | also shown. ```bash curl http://${host_ip}:9009/v1/chat/completions \ -X POST \ -d '{"model": "meta-llama/Meta-Llama-3-8B-Instruct", "messages": [{"role": "user", "content": "What is Deep Learning?"}], "max_tokens":17}' \ -H 'Content-Type: application/json'
```bash
{"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","obj... | also shown. ```bash curl http://${host_ip}:9009/v1/chat/completions \ -X POST \ -d '{"model": "meta-llama/Meta-Llama-3-8B-Instruct", "messages": [{"role": "user", "content": "What is Deep Learning?"}], "max_tokens":17}' \ -H 'Content-Type: application/json'
```bash
{"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","obj... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
3f946872-6323-4260-b8b1-c4f336116aab | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 4 | opea-semantic-v1 | 46936611043d3ae0 | For machines behind a firewall, set up the proxy environment variables: ```bash export http_proxy="Your_HTTP_Proxy" export https_proxy="Your_HTTPs_Proxy" # Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1" export no_proxy="Your_No_Proxy",chatqna-xeon-ui-server,chatqna-xeon-backend-server,dataprep-redis-service,tei-... | ai_ref_knowledge | OPEA Documentation | For machines behind a firewall, set up the proxy environment variables: ```bash export http_proxy="Your_HTTP_Proxy" export https_proxy="Your_HTTPs_Proxy" # Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1" export no_proxy="Your_No_Proxy",chatqna-xeon-ui-server,chatqna-xeon-backend-server,dataprep-redis-service,tei-... | For machines behind a firewall, set up the proxy environment variables: ```bash export http_proxy="Your_HTTP_Proxy" export https_proxy="Your_HTTPs_Proxy" # Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1" export no_proxy="Your_No_Proxy",chatqna-xeon-ui-server,chatqna-xeon-backend-server,dataprep-redis-service,tei-... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
69e40eca-2048-4645-b4cf-bc51258ee750 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 1 | opea-semantic-v1 | 6bd0255290938690 | Intel® Xeon® Scalable processors. To quickly learn about OPEA and set up the required hardware and software, follow the instructions in the [Getting Started Guide](../../../getting-started/README.md).
## Overview | ai_ref_knowledge | OPEA Documentation | Intel® Xeon® Scalable processors. To quickly learn about OPEA and set up the required hardware and software, follow the instructions in the [Getting Started Guide](../../../getting-started/README.md).
## Overview | Intel® Xeon® Scalable processors. To quickly learn about OPEA and set up the required hardware and software, follow the instructions in the [Getting Started Guide](../../../getting-started/README.md).
## Overview | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
6a992704-a787-4d1e-91c8-fafbc1572586 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 11 | opea-semantic-v1 | 477efa8788afb222 | :::{tab-item} vllm
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
25964cd40c51 opea/nginx:latest "/docker-entrypoint.…" 37 minutes ago Up 37 minutes 0.0.0.0:80->80/tcp, [::]:80->80/tcp chatqna-xeon-nginx-server
bca19cf35370 opea/chatqna-ui:latest "docker-entrypoint.s…" 37 minutes ago Up 37 minutes 0.0.0.... | ai_ref_knowledge | OPEA Documentation | :::{tab-item} vllm
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
25964cd40c51 opea/nginx:latest "/docker-entrypoint.…" 37 minutes ago Up 37 minutes 0.0.0.0:80->80/tcp, [::]:80->80/tcp chatqna-xeon-nginx-server
bca19cf35370 opea/chatqna-ui:latest "docker-entrypoint.s…" 37 minutes ago Up 37 minutes 0.0.0.... | :::{tab-item} vllm
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
25964cd40c51 opea/nginx:latest "/docker-entrypoint.…" 37 minutes ago Up 37 minutes 0.0.0.0:80->80/tcp, [::]:80->80/tcp chatqna-xeon-nginx-server
bca19cf35370 opea/chatqna-ui:latest "docker-entrypoint.s…" 37 minutes ago Up 37 minutes 0.0.0.... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
9921f08e-f95c-4d1f-98ec-fbbe7f556f39 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 19 | opea-semantic-v1 | c8cfe897f82dd406 | the port mapping in the `compose.yaml` file as shown below: ```yaml chatqna-xeon-ui-server: image: opea/chatqna-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, rebuild and restart the containers for the change to take effect. | ai_ref_knowledge | OPEA Documentation | the port mapping in the `compose.yaml` file as shown below: ```yaml chatqna-xeon-ui-server: image: opea/chatqna-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, rebuild and restart the containers for the change to take effect. | the port mapping in the `compose.yaml` file as shown below: ```yaml chatqna-xeon-ui-server: image: opea/chatqna-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, rebuild and restart the containers for the change to take effect. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
a84532e1-4e2a-4557-9e0a-836cd9e03d59 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 13 | opea-semantic-v1 | 1a5659cfe123e4a4 | ::: :::{tab-item} TGI
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f303bf48dd43 opea/nginx:latest "/docker-entrypoint.…" 4 seconds ago Up 3 seconds 0.0.0.0:80->80/tcp, [::]:80->80/tcp chatqna-xeon-nginx-server
0a2597a4baa0 opea/chatqna-ui:latest "docker-entrypoint.s…" 4 seconds ago Up 3 seconds 0.0.0.0... | ai_ref_knowledge | OPEA Documentation | ::: :::{tab-item} TGI
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f303bf48dd43 opea/nginx:latest "/docker-entrypoint.…" 4 seconds ago Up 3 seconds 0.0.0.0:80->80/tcp, [::]:80->80/tcp chatqna-xeon-nginx-server
0a2597a4baa0 opea/chatqna-ui:latest "docker-entrypoint.s…" 4 seconds ago Up 3 seconds 0.0.0.0... | ::: :::{tab-item} TGI
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f303bf48dd43 opea/nginx:latest "/docker-entrypoint.…" 4 seconds ago Up 3 seconds 0.0.0.0:80->80/tcp, [::]:80->80/tcp chatqna-xeon-nginx-server
0a2597a4baa0 opea/chatqna-ui:latest "docker-entrypoint.s…" 4 seconds ago Up 3 seconds 0.0.0.0... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
b3579022-0330-491f-9337-58186a44df97 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 5 | opea-semantic-v1 | 5e3a87e71965cd0e | ::: :::{tab-item} TGI
|use case components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|Data Prep | LangChain | NA | OPEA Microservice |
|VectorDB | Redis | NA | Open source service |
|Embedding | TEI | BAAI/bge-base-en-v1.5 | OPEA Microservice |
|Reranking ... | ai_ref_knowledge | OPEA Documentation | ::: :::{tab-item} TGI
|use case components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|Data Prep | LangChain | NA | OPEA Microservice |
|VectorDB | Redis | NA | Open source service |
|Embedding | TEI | BAAI/bge-base-en-v1.5 | OPEA Microservice |
|Reranking ... | ::: :::{tab-item} TGI
|use case components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|Data Prep | LangChain | NA | OPEA Microservice |
|VectorDB | Redis | NA | Open source service |
|Embedding | TEI | BAAI/bge-base-en-v1.5 | OPEA Microservice |
|Reranking ... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
b6d51eda-d34d-42af-ba14-e2ea9b39b154 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 14 | opea-semantic-v1 | fb8a4fe5ac69e13d | redis-vector-db 3e6e650f73a9 ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 4 seconds ago Up 3 seconds 0.0.0.0:8808->80/tcp, [::]:8808->80/tcp tei-reranking-server 105d130b80ac ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 4 seconds ago Up 3 seconds 0.0.0.0:6... | ai_ref_knowledge | OPEA Documentation | redis-vector-db 3e6e650f73a9 ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 4 seconds ago Up 3 seconds 0.0.0.0:8808->80/tcp, [::]:8808->80/tcp tei-reranking-server 105d130b80ac ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 4 seconds ago Up 3 seconds 0.0.0.0:6... | redis-vector-db 3e6e650f73a9 ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 4 seconds ago Up 3 seconds 0.0.0.0:8808->80/tcp, [::]:8808->80/tcp tei-reranking-server 105d130b80ac ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "text-embeddings-rou…" 4 seconds ago Up 3 seconds 0.0.0.0:6... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
b8d3874d-35da-439f-adc5-6d6d74cadada | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 3 | opea-semantic-v1 | 9eb2ea21916efec2 | Set the NGINX port. ```bash # Example: NGINX_PORT=80 export NGINX_PORT=<Nginx_Port>
For machines behind a firewall, set up the proxy environment variables:
```bash
export http_proxy="Your_HTTP_Proxy"
export https_proxy="Your_HTTPs_Proxy"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_P... | ai_ref_knowledge | OPEA Documentation | Set the NGINX port. ```bash # Example: NGINX_PORT=80 export NGINX_PORT=<Nginx_Port>
For machines behind a firewall, set up the proxy environment variables:
```bash
export http_proxy="Your_HTTP_Proxy"
export https_proxy="Your_HTTPs_Proxy"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_P... | Set the NGINX port. ```bash # Example: NGINX_PORT=80 export NGINX_PORT=<Nginx_Port>
For machines behind a firewall, set up the proxy environment variables:
```bash
export http_proxy="Your_HTTP_Proxy"
export https_proxy="Your_HTTPs_Proxy"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_P... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
ba59cdf9-433f-4cf1-9b19-97b47f49ea89 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 10 | opea-semantic-v1 | 799c4a82b91889d1 | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon/compose_tgi.yaml: `version` is obs... | ai_ref_knowledge | OPEA Documentation | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon/compose_tgi.yaml: `version` is obs... | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon/compose_tgi.yaml: `version` is obs... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
bb6b9219-ade3-4009-bd02-ea46f3db8c29 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 17 | opea-semantic-v1 | 56085ea9eaef0486 | ```bash {"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","object":"chat.completion","created":1743553002,"model":"meta-llama/Meta-Llama-3-8B-Instruct","choices":[{"index":0,"message":{"role":"assistant","content":"Deep learning is a subfield of machine learning that is inspired by the structure and function","tool_cal... | ai_ref_knowledge | OPEA Documentation | ```bash {"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","object":"chat.completion","created":1743553002,"model":"meta-llama/Meta-Llama-3-8B-Instruct","choices":[{"index":0,"message":{"role":"assistant","content":"Deep learning is a subfield of machine learning that is inspired by the structure and function","tool_cal... | ```bash {"id":"chatcmpl-cc4300a173af48989cac841f54ebca09","object":"chat.completion","created":1743553002,"model":"meta-llama/Meta-Llama-3-8B-Instruct","choices":[{"index":0,"message":{"role":"assistant","content":"Deep learning is a subfield of machine learning that is inspired by the structure and function","tool_cal... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
c032c990-114a-4053-9e0e-9662bba6f2cd | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 0 | opea-semantic-v1 | bac91042cbfe27cd | # Single node on-prem deployment with vLLM or TGI on Xeon Scalable processors
This section covers single-node on-prem deployment of the ChatQnA example using the vLLM or TGI LLM service. There are several ways to enable RAG with vectordb and LLM models, but this tutorial will be covering how to build an end-to-end Chat... | ai_ref_knowledge | OPEA Documentation | # Single node on-prem deployment with vLLM or TGI on Xeon Scalable processors
This section covers single-node on-prem deployment of the ChatQnA example using the vLLM or TGI LLM service. There are several ways to enable RAG with vectordb and LLM models, but this tutorial will be covering how to build an end-to-end Chat... | # Single node on-prem deployment with vLLM or TGI on Xeon Scalable processors
This section covers single-node on-prem deployment of the ChatQnA example using the vLLM or TGI LLM service. There are several ways to enable RAG with vectordb and LLM models, but this tutorial will be covering how to build an end-to-end Chat... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
d2be1418-75f7-434b-8ce1-404acf4ec7cd | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 7 | opea-semantic-v1 | c4fd8e65ac5aa1d3 | ::::{tab-set} :::{tab-item} vllm
ubuntu@xeon-vm:~/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon$ docker compose -f compose.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN... | ai_ref_knowledge | OPEA Documentation | ::::{tab-set} :::{tab-item} vllm
ubuntu@xeon-vm:~/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon$ docker compose -f compose.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN... | ::::{tab-set} :::{tab-item} vllm
ubuntu@xeon-vm:~/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon$ docker compose -f compose.yaml up -d
WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set. Defaulting to a blank string. WARN... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
da5ff60c-e084-4c41-a73e-09f71dce5a7d | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 18 | opea-semantic-v1 | 7bf9b6aec05511d6 | ### Basic UI
To access the frontend, open the following URL in a web browser: http://${host_ip}:${NGINX_PORT}. By default, the UI runs on port 5173 internally. A different host port can be used to access the frontend by modifying the port mapping in the `compose.yaml` file as shown below:
```yaml
chatqna-xeon-ui-serve... | ai_ref_knowledge | OPEA Documentation | ### Basic UI
To access the frontend, open the following URL in a web browser: http://${host_ip}:${NGINX_PORT}. By default, the UI runs on port 5173 internally. A different host port can be used to access the frontend by modifying the port mapping in the `compose.yaml` file as shown below:
```yaml
chatqna-xeon-ui-serve... | ### Basic UI
To access the frontend, open the following URL in a web browser: http://${host_ip}:${NGINX_PORT}. By default, the UI runs on port 5173 internally. A different host port can be used to access the frontend by modifying the port mapping in the `compose.yaml` file as shown below:
```yaml
chatqna-xeon-ui-serve... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
ddcf543c-ef0a-4081-985c-f8a9bf9616b1 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 20 | opea-semantic-v1 | 50dea4525501a390 | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon
To stop and remove all the containers, use the command below:
::::{tab-set} | ai_ref_knowledge | OPEA Documentation | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon
To stop and remove all the containers, use the command below:
::::{tab-set} | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon
To stop and remove all the containers, use the command below:
::::{tab-set} | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
e1140756-a849-46b4-b5e4-e70f99fc8278 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 15 | opea-semantic-v1 | 077a5a878ccb679e | ::: ::::
Run the command below to use the vLLM or TGI service to generate text for the input prompt. Sample output is also shown. ```bash
curl http://${host_ip}:9009/v1/chat/completions \
-X POST \
-d '{"model": "meta-llama/Meta-Llama-3-8B-Instruct", "messages": [{"role": "user", "content": "What is Deep Learning?"}]... | ai_ref_knowledge | OPEA Documentation | ::: ::::
Run the command below to use the vLLM or TGI service to generate text for the input prompt. Sample output is also shown. ```bash
curl http://${host_ip}:9009/v1/chat/completions \
-X POST \
-d '{"model": "meta-llama/Meta-Llama-3-8B-Instruct", "messages": [{"role": "user", "content": "What is Deep Learning?"}]... | ::: ::::
Run the command below to use the vLLM or TGI service to generate text for the input prompt. Sample output is also shown. ```bash
curl http://${host_ip}:9009/v1/chat/completions \
-X POST \
-d '{"model": "meta-llama/Meta-Llama-3-8B-Instruct", "messages": [{"role": "user", "content": "What is Deep Learning?"}]... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
e41ffce6-a64a-4402-b5ed-7fce84aa5456 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 2 | opea-semantic-v1 | 5d1d46d4e5b898ff | 1. Data Prep 2. Embedding 3. Retriever 4. Reranking 5. LLM with vLLM or TGI
This solution is designed to demonstrate the use of Redis vectorDB for RAG and the Meta-Llama-3-8B-Instruct model for LLM inference on Intel® Xeon® Scalable processors. The steps will involve setting up Docker containers, using a sample Nike da... | ai_ref_knowledge | OPEA Documentation | 1. Data Prep 2. Embedding 3. Retriever 4. Reranking 5. LLM with vLLM or TGI
This solution is designed to demonstrate the use of Redis vectorDB for RAG and the Meta-Llama-3-8B-Instruct model for LLM inference on Intel® Xeon® Scalable processors. The steps will involve setting up Docker containers, using a sample Nike da... | 1. Data Prep 2. Embedding 3. Retriever 4. Reranking 5. LLM with vLLM or TGI
This solution is designed to demonstrate the use of Redis vectorDB for RAG and the Meta-Llama-3-8B-Instruct model for LLM inference on Intel® Xeon® Scalable processors. The steps will involve setting up Docker containers, using a sample Nike da... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
f69acde4-086f-4674-a6ae-583890b73a31 | OPEA Documentation | file://datasets/opea-docs/tutorial/ChatQnA/deploy/xeon.md | unknown | fb624882-aa64-488f-a4a4-211519c25a84 | 8 | opea-semantic-v1 | c3fdf0d7cdb0b2e9 | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon/compose.yaml: `version` is obsolet... | ai_ref_knowledge | OPEA Documentation | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon/compose.yaml: `version` is obsolet... | set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_API_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LANGCHAIN_TRACING_V2" variable is not set.
Defaulting to a blank string. WARN[0000] /home/ubuntu/GenAIExamples/ChatQnA/docker_compose/intel/cpu/xeon/compose.yaml: `version` is obsolet... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
07b401a5-054d-4d7b-aa3f-987deec88bac | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 9 | opea-semantic-v1 | ca277e4ee693ad16 | with the latest updates will be used. ```bash export RELEASE_VERSION=<Release_Version> # Set desired release version - number only cd GenAIExamples git checkout tags/v${RELEASE_VERSION} cd ..
Set up a [HuggingFace](https://huggingface.co/) account and generate a [user access token](https://huggingface.co/docs/transform... | ai_ref_knowledge | OPEA Documentation | with the latest updates will be used. ```bash export RELEASE_VERSION=<Release_Version> # Set desired release version - number only cd GenAIExamples git checkout tags/v${RELEASE_VERSION} cd ..
Set up a [HuggingFace](https://huggingface.co/) account and generate a [user access token](https://huggingface.co/docs/transform... | with the latest updates will be used. ```bash export RELEASE_VERSION=<Release_Version> # Set desired release version - number only cd GenAIExamples git checkout tags/v${RELEASE_VERSION} cd ..
Set up a [HuggingFace](https://huggingface.co/) account and generate a [user access token](https://huggingface.co/docs/transform... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
19a1dd37-6446-4578-8d8f-ced7b2358fb2 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 33 | opea-semantic-v1 | 15fc1c9fd61e68b8 | output code is printed one character at a time. It is too long to show here but the last item will be ```bash data: [DONE]
### Dataprep Microservice
The following is a template only. Replace the filename placeholders with desired files. | ai_ref_knowledge | OPEA Documentation | output code is printed one character at a time. It is too long to show here but the last item will be ```bash data: [DONE]
### Dataprep Microservice
The following is a template only. Replace the filename placeholders with desired files. | output code is printed one character at a time. It is too long to show here but the last item will be ```bash data: [DONE]
### Dataprep Microservice
The following is a template only. Replace the filename placeholders with desired files. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
19a4bb2b-853a-43ff-9be2-4696f39e09b1 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 32 | opea-semantic-v1 | ade35fb0f12ba326 | list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception.","max_tokens":256,"top_k":10,"top_p":0.95,"typical_p":0.95,"temperature":0.01,"repetition_penalty":1.03,"stream":true}'
The output code is printed one character at a time. It ... | ai_ref_knowledge | OPEA Documentation | list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception.","max_tokens":256,"top_k":10,"top_p":0.95,"typical_p":0.95,"temperature":0.01,"repetition_penalty":1.03,"stream":true}'
The output code is printed one character at a time. It ... | list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception.","max_tokens":256,"top_k":10,"top_p":0.95,"typical_p":0.95,"temperature":0.01,"repetition_penalty":1.03,"stream":true}'
The output code is printed one character at a time. It ... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
1a095bc4-1238-45b2-aa9c-9443eb5b8d76 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 0 | opea-semantic-v1 | bd42e76a9ef1c565 | # Single node on-prem deployment on Gaudi AI Accelerator
This section covers single-node on-prem deployment of the CodeGen example. It will show how to deploy an end-to-end CodeGen solution with the `Qwen2.5-Coder-32B-Instruct` model running on Intel® Gaudi® AI Accelerators. To quickly learn about OPEA and set up the r... | ai_ref_knowledge | OPEA Documentation | # Single node on-prem deployment on Gaudi AI Accelerator
This section covers single-node on-prem deployment of the CodeGen example. It will show how to deploy an end-to-end CodeGen solution with the `Qwen2.5-Coder-32B-Instruct` model running on Intel® Gaudi® AI Accelerators. To quickly learn about OPEA and set up the r... | # Single node on-prem deployment on Gaudi AI Accelerator
This section covers single-node on-prem deployment of the CodeGen example. It will show how to deploy an end-to-end CodeGen solution with the `Qwen2.5-Coder-32B-Instruct` model running on Intel® Gaudi® AI Accelerators. To quickly learn about OPEA and set up the r... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
216325fb-7717-481a-92da-0fa24d20852e | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 10 | opea-semantic-v1 | bd03796ca7036335 | and generate a [user access token](https://huggingface.co/docs/transformers.js/en/guides/private#step-1-generating-a-user-access-token). The [Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct) model does not need special access, but the token can be used with other models requiring acce... | ai_ref_knowledge | OPEA Documentation | and generate a [user access token](https://huggingface.co/docs/transformers.js/en/guides/private#step-1-generating-a-user-access-token). The [Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct) model does not need special access, but the token can be used with other models requiring acce... | and generate a [user access token](https://huggingface.co/docs/transformers.js/en/guides/private#step-1-generating-a-user-access-token). The [Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct) model does not need special access, but the token can be used with other models requiring acce... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
227a7035-b9cc-44c3-b423-abb6d4c575e8 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 21 | opea-semantic-v1 | d178745c20b66b06 | ### Check Env Variables After running `docker compose`, check for warning messages for environment variables that are **NOT** set. Address them if needed.
WARN[0000] The "no_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string. WARN[000... | ai_ref_knowledge | OPEA Documentation | ### Check Env Variables After running `docker compose`, check for warning messages for environment variables that are **NOT** set. Address them if needed.
WARN[0000] The "no_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string. WARN[000... | ### Check Env Variables After running `docker compose`, check for warning messages for environment variables that are **NOT** set. Address them if needed.
WARN[0000] The "no_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string. WARN[000... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
232457d9-469f-4cad-912f-a8ebbe33ffc7 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 35 | opea-semantic-v1 | a512f9a30dd34def | ```bash curl http://${host_ip}:6007/v1/dataprep/ingest \ -X POST \ -H "Content-Type: multipart/form-data" \ -F "files=@./file1.pdf" \ -F "files=@./file2.txt" \ -F "index_name=my_API_document"
### CodeGen Megaservice | ai_ref_knowledge | OPEA Documentation | ```bash curl http://${host_ip}:6007/v1/dataprep/ingest \ -X POST \ -H "Content-Type: multipart/form-data" \ -F "files=@./file1.pdf" \ -F "files=@./file2.txt" \ -F "index_name=my_API_document"
### CodeGen Megaservice | ```bash curl http://${host_ip}:6007/v1/dataprep/ingest \ -X POST \ -H "Content-Type: multipart/form-data" \ -F "files=@./file1.pdf" \ -F "files=@./file2.txt" \ -F "index_name=my_API_document"
### CodeGen Megaservice | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
24c63a03-0e03-4cb2-8938-1f49912291e7 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 36 | opea-semantic-v1 | 6110cc44b18e9201 | ### CodeGen Megaservice
Default:
```bash
curl http://${host_ip}:7778/v1/codegen -H "Content-Type: application/json" -d '{
"messages": "Implement a high-level API for a TODO list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."
... | ai_ref_knowledge | OPEA Documentation | ### CodeGen Megaservice
Default:
```bash
curl http://${host_ip}:7778/v1/codegen -H "Content-Type: application/json" -d '{
"messages": "Implement a high-level API for a TODO list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."
... | ### CodeGen Megaservice
Default:
```bash
curl http://${host_ip}:7778/v1/codegen -H "Content-Type: application/json" -d '{
"messages": "Implement a high-level API for a TODO list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."
... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
2c429fbf-5af7-4b54-b409-cef9291c2036 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 13 | opea-semantic-v1 | e74b44fb0baae0b2 | For machines behind a firewall, set up the proxy environment variables: ```bash export no_proxy=${your_no_proxy},$host_ip export http_proxy=${your_http_proxy} export https_proxy=${your_http_proxy}
## Use Case Setup | ai_ref_knowledge | OPEA Documentation | For machines behind a firewall, set up the proxy environment variables: ```bash export no_proxy=${your_no_proxy},$host_ip export http_proxy=${your_http_proxy} export https_proxy=${your_http_proxy}
## Use Case Setup | For machines behind a firewall, set up the proxy environment variables: ```bash export no_proxy=${your_no_proxy},$host_ip export http_proxy=${your_http_proxy} export https_proxy=${your_http_proxy}
## Use Case Setup | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
315eb4da-b68b-4522-9a0f-0df7a0886d4b | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 14 | opea-semantic-v1 | 5b174981f94a302a | ## Use Case Setup
CodeGen will utilize the following GenAIComps services and associated tools. The tools and models listed in the table can be configured via environment variables in either the `set_env.sh` script or the `compose.yaml` file. | ai_ref_knowledge | OPEA Documentation | ## Use Case Setup
CodeGen will utilize the following GenAIComps services and associated tools. The tools and models listed in the table can be configured via environment variables in either the `set_env.sh` script or the `compose.yaml` file. | ## Use Case Setup
CodeGen will utilize the following GenAIComps services and associated tools. The tools and models listed in the table can be configured via environment variables in either the `set_env.sh` script or the `compose.yaml` file. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
36e6c74f-07f1-4d09-9273-eb16eb979d7a | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 5 | opea-semantic-v1 | 04c323f0e499d99f | ## Prerequisites
To run the UI on a web browser external to the host machine such as a laptop, the following port(s) need to be forwarded when using SSH to log in to the host machine:
- 7778: CodeGen megaservice port | ai_ref_knowledge | OPEA Documentation | ## Prerequisites
To run the UI on a web browser external to the host machine such as a laptop, the following port(s) need to be forwarded when using SSH to log in to the host machine:
- 7778: CodeGen megaservice port | ## Prerequisites
To run the UI on a web browser external to the host machine such as a laptop, the following port(s) need to be forwarded when using SSH to log in to the host machine:
- 7778: CodeGen megaservice port | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
3a2690d7-0397-46fd-81a5-862ab073f30b | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 15 | opea-semantic-v1 | 6a358f047d13c6bc | associated tools. The tools and models listed in the table can be configured via environment variables in either the `set_env.sh` script or the `compose.yaml` file.
|Use Case Components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|LLM | vLLM, TGI | Qwen/Qwen... | ai_ref_knowledge | OPEA Documentation | associated tools. The tools and models listed in the table can be configured via environment variables in either the `set_env.sh` script or the `compose.yaml` file.
|Use Case Components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|LLM | vLLM, TGI | Qwen/Qwen... | associated tools. The tools and models listed in the table can be configured via environment variables in either the `set_env.sh` script or the `compose.yaml` file.
|Use Case Components | Tools | Model | Service Type |
|---------------- |--------------|-----------------------------|-------|
|LLM | vLLM, TGI | Qwen/Qwen... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
3a982297-b38c-4672-9d26-66c472b3e742 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 11 | opea-semantic-v1 | a4beb3813eb44b76 | Set the `HUGGINGFACEHUB_API_TOKEN` environment variable to the value of the Hugging Face token by executing the following command: ```bash export HUGGINGFACEHUB_API_TOKEN="Your_Huggingface_API_Token"
`host_ip` is not required to be set manually. It will be set in the `set_env.sh` script later. | ai_ref_knowledge | OPEA Documentation | Set the `HUGGINGFACEHUB_API_TOKEN` environment variable to the value of the Hugging Face token by executing the following command: ```bash export HUGGINGFACEHUB_API_TOKEN="Your_Huggingface_API_Token"
`host_ip` is not required to be set manually. It will be set in the `set_env.sh` script later. | Set the `HUGGINGFACEHUB_API_TOKEN` environment variable to the value of the Hugging Face token by executing the following command: ```bash export HUGGINGFACEHUB_API_TOKEN="Your_Huggingface_API_Token"
`host_ip` is not required to be set manually. It will be set in the `set_env.sh` script later. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
3c51f460-710c-4380-ac9b-902a7e8b12b7 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 2 | opea-semantic-v1 | 6bb4cc00b4c09001 | ## Overview
The CodeGen use case uses a single microservice called LLM with model serving done with vLLM or TGI. | ai_ref_knowledge | OPEA Documentation | ## Overview
The CodeGen use case uses a single microservice called LLM with model serving done with vLLM or TGI. | ## Overview
The CodeGen use case uses a single microservice called LLM with model serving done with vLLM or TGI. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
42d56f70-e99c-45e6-86a9-2232d490da8d | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 38 | opea-semantic-v1 | ba1a2e53c45a4e49 | output code is printed one character at a time. It is too long to show here but the last item will be ```bash data: [DONE]
The CodeGen Megaservice can also be utilized with RAG and Agents activated:
```bash
curl http://${host_ip}:7778/v1/codegen \
-H "Content-Type: application/json" \
-d '{"agents_flag": "True", "ind... | ai_ref_knowledge | OPEA Documentation | output code is printed one character at a time. It is too long to show here but the last item will be ```bash data: [DONE]
The CodeGen Megaservice can also be utilized with RAG and Agents activated:
```bash
curl http://${host_ip}:7778/v1/codegen \
-H "Content-Type: application/json" \
-d '{"agents_flag": "True", "ind... | output code is printed one character at a time. It is too long to show here but the last item will be ```bash data: [DONE]
The CodeGen Megaservice can also be utilized with RAG and Agents activated:
```bash
curl http://${host_ip}:7778/v1/codegen \
-H "Content-Type: application/json" \
-d '{"agents_flag": "True", "ind... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
437ff5a6-74a0-4c39-bd81-9466e0c5476f | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 29 | opea-semantic-v1 | f8e81efe9cf85836 | get a todo list.\n\n conformance:\n - a new todo is added to the list\n - if the todo text is empty, raise an exception\n ```\n\n1.
Write the first test:\n ```ruby\n feature Testing the addition of a todo to the list\n\n given a todo list empty list\n when a user adds a todo\n the todo should be added to the list\n\n i... | ai_ref_knowledge | OPEA Documentation | get a todo list.\n\n conformance:\n - a new todo is added to the list\n - if the todo text is empty, raise an exception\n ```\n\n1.
Write the first test:\n ```ruby\n feature Testing the addition of a todo to the list\n\n given a todo list empty list\n when a user adds a todo\n the todo should be added to the list\n\n i... | get a todo list.\n\n conformance:\n - a new todo is added to the list\n - if the todo text is empty, raise an exception\n ```\n\n1.
Write the first test:\n ```ruby\n feature Testing the addition of a todo to the list\n\n given a todo list empty list\n when a user adds a todo\n the todo should be added to the list\n\n i... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
469a01d8-58db-4fe0-bfb6-6f0e1cc5af0e | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 3 | opea-semantic-v1 | 77e038ed9e39dcd6 | The CodeGen use case uses a single microservice called LLM with model serving done with vLLM or TGI.
This solution is designed to demonstrate the use of the `Qwen2.5-Coder-32B-Instruct` model for code generation on Intel® Gaudi® AI Accelerators. The steps will involve setting up Docker containers, taking text input as ... | ai_ref_knowledge | OPEA Documentation | The CodeGen use case uses a single microservice called LLM with model serving done with vLLM or TGI.
This solution is designed to demonstrate the use of the `Qwen2.5-Coder-32B-Instruct` model for code generation on Intel® Gaudi® AI Accelerators. The steps will involve setting up Docker containers, taking text input as ... | The CodeGen use case uses a single microservice called LLM with model serving done with vLLM or TGI.
This solution is designed to demonstrate the use of the `Qwen2.5-Coder-32B-Instruct` model for code generation on Intel® Gaudi® AI Accelerators. The steps will involve setting up Docker containers, taking text input as ... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
474119bb-8ad2-48c0-9536-31acdbbc8866 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 30 | opea-semantic-v1 | 08d80a1c6c561a76 | { text:\"A\" }\n ```\n\n1. Write the first step implementation in any programming language you like. In this case, we will choose Ruby:\n ```ruby\n def add_"}
### LLM Microservice | ai_ref_knowledge | OPEA Documentation | { text:\"A\" }\n ```\n\n1. Write the first step implementation in any programming language you like. In this case, we will choose Ruby:\n ```ruby\n def add_"}
### LLM Microservice | { text:\"A\" }\n ```\n\n1. Write the first step implementation in any programming language you like. In this case, we will choose Ruby:\n ```ruby\n def add_"}
### LLM Microservice | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
4b662ff5-1a0c-4b31-9b81-e9aec40935b3 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 40 | opea-semantic-v1 | dc12c908f1be41fe | the port mapping in the `compose.yaml` file as shown below: ```yaml codegen-gaudi-ui-server: image: ${REGISTRY:-opea}/codegen-gradio-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, restart the containers for the change to take effect. | ai_ref_knowledge | OPEA Documentation | the port mapping in the `compose.yaml` file as shown below: ```yaml codegen-gaudi-ui-server: image: ${REGISTRY:-opea}/codegen-gradio-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, restart the containers for the change to take effect. | the port mapping in the `compose.yaml` file as shown below: ```yaml codegen-gaudi-ui-server: image: ${REGISTRY:-opea}/codegen-gradio-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, restart the containers for the change to take effect. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
4c1ec356-9a55-4fb3-b30a-75ddf4b4da81 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 39 | opea-semantic-v1 | 25b955e25455cce9 | list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."}'
## Launch UI
### Gradio UI
To access the frontend, open the following URL in a web browser: http://${host_ip}:5173. By default, the UI runs on port 5173 internally. A diffe... | ai_ref_knowledge | OPEA Documentation | list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."}'
## Launch UI
### Gradio UI
To access the frontend, open the following URL in a web browser: http://${host_ip}:5173. By default, the UI runs on port 5173 internally. A diffe... | list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."}'
## Launch UI
### Gradio UI
To access the frontend, open the following URL in a web browser: http://${host_ip}:5173. By default, the UI runs on port 5173 internally. A diffe... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
4c750c46-49d9-48f0-83de-6a9e028f95b1 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 12 | opea-semantic-v1 | 762452f7526a0c7c | `host_ip` is not required to be set manually. It will be set in the `set_env.sh` script later.
For machines behind a firewall, set up the proxy environment variables:
```bash
export no_proxy=${your_no_proxy},$host_ip
export http_proxy=${your_http_proxy}
export https_proxy=${your_http_proxy} | ai_ref_knowledge | OPEA Documentation | `host_ip` is not required to be set manually. It will be set in the `set_env.sh` script later.
For machines behind a firewall, set up the proxy environment variables:
```bash
export no_proxy=${your_no_proxy},$host_ip
export http_proxy=${your_http_proxy}
export https_proxy=${your_http_proxy} | `host_ip` is not required to be set manually. It will be set in the `set_env.sh` script later.
For machines behind a firewall, set up the proxy environment variables:
```bash
export no_proxy=${your_no_proxy},$host_ip
export http_proxy=${your_http_proxy}
export https_proxy=${your_http_proxy} | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
624e7ca0-aa8d-46cf-a196-0d8aa2d29141 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 22 | opea-semantic-v1 | 59333ee67da489ee | string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "no_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank stri... | ai_ref_knowledge | OPEA Documentation | string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "no_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank stri... | string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "no_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank stri... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
62fd6d2f-b30e-4162-becc-2e42109bf97e | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 20 | opea-semantic-v1 | d7362d07cc267940 | compose` with the provided YAML file to start all the services mentioned above as containers. The vLLM or TGI service can be used for CodeGen.
::::{tab-set}
:::{tab-item} vllm | ai_ref_knowledge | OPEA Documentation | compose` with the provided YAML file to start all the services mentioned above as containers. The vLLM or TGI service can be used for CodeGen.
::::{tab-set}
:::{tab-item} vllm | compose` with the provided YAML file to start all the services mentioned above as containers. The vLLM or TGI service can be used for CodeGen.
::::{tab-set}
:::{tab-item} vllm | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
7167b846-edef-4031-b4d1-145f9aef7e93 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 8 | opea-semantic-v1 | 64398fe7caeeeac4 | Set up a workspace and clone the [GenAIExamples](https://github.com/opea-project/GenAIExamples) GitHub repo. ```bash export WORKSPACE=<Path> cd $WORKSPACE git clone https://github.com/opea-project/GenAIExamples.git
**Optional** It is recommended to use a stable release version by setting `RELEASE_VERSION` to a **number... | ai_ref_knowledge | OPEA Documentation | Set up a workspace and clone the [GenAIExamples](https://github.com/opea-project/GenAIExamples) GitHub repo. ```bash export WORKSPACE=<Path> cd $WORKSPACE git clone https://github.com/opea-project/GenAIExamples.git
**Optional** It is recommended to use a stable release version by setting `RELEASE_VERSION` to a **number... | Set up a workspace and clone the [GenAIExamples](https://github.com/opea-project/GenAIExamples) GitHub repo. ```bash export WORKSPACE=<Path> cd $WORKSPACE git clone https://github.com/opea-project/GenAIExamples.git
**Optional** It is recommended to use a stable release version by setting `RELEASE_VERSION` to a **number... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
7af7c152-a9f1-4e60-a869-3cb74c5c062b | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 16 | opea-semantic-v1 | 2300e49b296262cf | Model | Service Type | |---------------- |--------------|-----------------------------|-------| |LLM | vLLM, TGI | Qwen/Qwen2.5-Coder-32B-Instruct | OPEA Microservice | |UI | | NA | Gateway Service |
Set the necessary environment variables to set up the use case. To swap out models, modify `set_env.sh` before running i... | ai_ref_knowledge | OPEA Documentation | Model | Service Type | |---------------- |--------------|-----------------------------|-------| |LLM | vLLM, TGI | Qwen/Qwen2.5-Coder-32B-Instruct | OPEA Microservice | |UI | | NA | Gateway Service |
Set the necessary environment variables to set up the use case. To swap out models, modify `set_env.sh` before running i... | Model | Service Type | |---------------- |--------------|-----------------------------|-------| |LLM | vLLM, TGI | Qwen/Qwen2.5-Coder-32B-Instruct | OPEA Microservice | |UI | | NA | Gateway Service |
Set the necessary environment variables to set up the use case. To swap out models, modify `set_env.sh` before running i... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
82ac1e74-f6d0-41aa-a9f2-62b0e05c9cc0 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 27 | opea-semantic-v1 | 62e0b53919aa2936 | ### vLLM or TGI Service
```bash
curl http://${host_ip}:8028/v1/chat/completions \
-X POST \
-H 'Content-Type: application/json' \
-d '{"model": "Qwen/Qwen2.5-Coder-32B-Instruct", "messages": [{"role": "user", "content": "Implement a high-level API for a TODO list application. The API takes as input an operation requ... | ai_ref_knowledge | OPEA Documentation | ### vLLM or TGI Service
```bash
curl http://${host_ip}:8028/v1/chat/completions \
-X POST \
-H 'Content-Type: application/json' \
-d '{"model": "Qwen/Qwen2.5-Coder-32B-Instruct", "messages": [{"role": "user", "content": "Implement a high-level API for a TODO list application. The API takes as input an operation requ... | ### vLLM or TGI Service
```bash
curl http://${host_ip}:8028/v1/chat/completions \
-X POST \
-H 'Content-Type: application/json' \
-d '{"model": "Qwen/Qwen2.5-Coder-32B-Instruct", "messages": [{"role": "user", "content": "Implement a high-level API for a TODO list application. The API takes as input an operation requ... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
85bf689b-317f-46f6-9018-398be2bf4cc9 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 28 | opea-semantic-v1 | 331694f34c138d87 | application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."}], "max_tokens":32}'
Here is sample output:
```bash
{"generated_text":"\n\nIO iflow diagram:\n\n!\[IO flow diagram(s)\]\(TodoList.iflow.svg\)\n\n### TDD Kata walkthrough\n\n1. Sta... | ai_ref_knowledge | OPEA Documentation | application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."}], "max_tokens":32}'
Here is sample output:
```bash
{"generated_text":"\n\nIO iflow diagram:\n\n!\[IO flow diagram(s)\]\(TodoList.iflow.svg\)\n\n### TDD Kata walkthrough\n\n1. Sta... | application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."}], "max_tokens":32}'
Here is sample output:
```bash
{"generated_text":"\n\nIO iflow diagram:\n\n!\[IO flow diagram(s)\]\(TodoList.iflow.svg\)\n\n### TDD Kata walkthrough\n\n1. Sta... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
9bf941f5-1347-4f53-a72d-e353870bb5d2 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 37 | opea-semantic-v1 | fab985246d63f13b | application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception." }'
The output code is printed one character at a time. It is too long to show here but the last item will be
```bash
data: [DONE] | ai_ref_knowledge | OPEA Documentation | application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception." }'
The output code is printed one character at a time. It is too long to show here but the last item will be
```bash
data: [DONE] | application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception." }'
The output code is printed one character at a time. It is too long to show here but the last item will be
```bash
data: [DONE] | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
9d8f7296-4bc2-4db5-8180-fb55a75adb06 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 23 | opea-semantic-v1 | c3f258f8e70a5dd7 | WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string.
Check if all the containers launched via `docker compose` are running i.e. each container's `STATUS` is `Up` and in some cases `Healthy`. | ai_ref_knowledge | OPEA Documentation | WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string.
Check if all the containers launched via `docker compose` are running i.e. each container's `STATUS` is `Up` and in some cases `Healthy`. | WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string. WARN[0000] The "https_proxy" variable is not set. Defaulting to a blank string.
Check if all the containers launched via `docker compose` are running i.e. each container's `STATUS` is `Up` and in some cases `Healthy`. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
a23c4841-dbfa-4b23-bd4e-be017d2c4150 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 25 | opea-semantic-v1 | 930b7e06d570fac6 | Run this command to see this info: ```bash docker ps -a
Sample output:
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0040b340a392 opea/codegen-gradio-ui:latest "python codegen_ui_g…" 4 minutes ago Up 3 minutes 0.0.0.0:5173->5173/tcp, [::]:5173->5173/tcp codegen-gaudi-ui-server
3d2c7deacf5b opea/codegen... | ai_ref_knowledge | OPEA Documentation | Run this command to see this info: ```bash docker ps -a
Sample output:
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0040b340a392 opea/codegen-gradio-ui:latest "python codegen_ui_g…" 4 minutes ago Up 3 minutes 0.0.0.0:5173->5173/tcp, [::]:5173->5173/tcp codegen-gaudi-ui-server
3d2c7deacf5b opea/codegen... | Run this command to see this info: ```bash docker ps -a
Sample output:
```bash
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0040b340a392 opea/codegen-gradio-ui:latest "python codegen_ui_g…" 4 minutes ago Up 3 minutes 0.0.0.0:5173->5173/tcp, [::]:5173->5173/tcp codegen-gaudi-ui-server
3d2c7deacf5b opea/codegen... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
a96135e2-0265-4762-a983-693d7ac971d0 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 7 | opea-semantic-v1 | a3a30b9b1abb7db1 | defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to the ssh command: ```bash -L 7778:localhost:7778
Set up a workspace and clone the [GenAIExamples](https://github.com/opea-project/GenAIExamples) GitHub repo. ```bash
export WORKSPACE=<Path>... | ai_ref_knowledge | OPEA Documentation | defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to the ssh command: ```bash -L 7778:localhost:7778
Set up a workspace and clone the [GenAIExamples](https://github.com/opea-project/GenAIExamples) GitHub repo. ```bash
export WORKSPACE=<Path>... | defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to the ssh command: ```bash -L 7778:localhost:7778
Set up a workspace and clone the [GenAIExamples](https://github.com/opea-project/GenAIExamples) GitHub repo. ```bash
export WORKSPACE=<Path>... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
aa05325a-b6ea-45f5-b51b-ae1a8c0d36be | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 17 | opea-semantic-v1 | f8cfa7a724dacdab | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
To run the UI on a web browser on a laptop, modify `BACKEND_SERVICE_ENDPOINT` to use `localhost` or `127.0.0.1` instead of `host_ip` inside `se... | ai_ref_knowledge | OPEA Documentation | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
To run the UI on a web browser on a laptop, modify `BACKEND_SERVICE_ENDPOINT` to use `localhost` or `127.0.0.1` instead of `host_ip` inside `se... | models, modify `set_env.sh` before running it. For example, the environment variable `LLM_MODEL_ID` can be changed to another model by specifying the HuggingFace model card ID.
To run the UI on a web browser on a laptop, modify `BACKEND_SERVICE_ENDPOINT` to use `localhost` or `127.0.0.1` instead of `host_ip` inside `se... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
aa07aa12-2987-47f2-ab2c-fc2ee9e04bdd | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 41 | opea-semantic-v1 | aed6846eb6d75d98 | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/hpu/gaudi
To stop and remove all the containers, use the commands below: | ai_ref_knowledge | OPEA Documentation | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/hpu/gaudi
To stop and remove all the containers, use the commands below: | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/hpu/gaudi
To stop and remove all the containers, use the commands below: | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
abf3c088-7f25-4167-acdd-9d65d9f33186 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 6 | opea-semantic-v1 | d85d737f73f30183 | as a laptop, the following port(s) need to be forwarded when using SSH to log in to the host machine: - 7778: CodeGen megaservice port
This port is used for `BACKEND_SERVICE_ENDPOINT` defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to the ... | ai_ref_knowledge | OPEA Documentation | as a laptop, the following port(s) need to be forwarded when using SSH to log in to the host machine: - 7778: CodeGen megaservice port
This port is used for `BACKEND_SERVICE_ENDPOINT` defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to the ... | as a laptop, the following port(s) need to be forwarded when using SSH to log in to the host machine: - 7778: CodeGen megaservice port
This port is used for `BACKEND_SERVICE_ENDPOINT` defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to the ... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
b0e802c0-b1b8-417b-9aaf-3d35004a2eab | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 19 | opea-semantic-v1 | 7548ee0b6e84d417 | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/hpu/gaudi
Run `docker compose` with the provided YAML file to start all the services mentioned above as containers. The vLLM or TGI service can be used for CodeGen. | ai_ref_knowledge | OPEA Documentation | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/hpu/gaudi
Run `docker compose` with the provided YAML file to start all the services mentioned above as containers. The vLLM or TGI service can be used for CodeGen. | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/hpu/gaudi
Run `docker compose` with the provided YAML file to start all the services mentioned above as containers. The vLLM or TGI service can be used for CodeGen. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
c11f524e-1460-495c-a088-f61859156d57 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 34 | opea-semantic-v1 | 59145190e9a3c270 | ### Dataprep Microservice The following is a template only. Replace the filename placeholders with desired files.
```bash
curl http://${host_ip}:6007/v1/dataprep/ingest \
-X POST \
-H "Content-Type: multipart/form-data" \
-F "files=@./file1.pdf" \
-F "files=@./file2.txt" \
-F "index_name=my_API_document" | ai_ref_knowledge | OPEA Documentation | ### Dataprep Microservice The following is a template only. Replace the filename placeholders with desired files.
```bash
curl http://${host_ip}:6007/v1/dataprep/ingest \
-X POST \
-H "Content-Type: multipart/form-data" \
-F "files=@./file1.pdf" \
-F "files=@./file2.txt" \
-F "index_name=my_API_document" | ### Dataprep Microservice The following is a template only. Replace the filename placeholders with desired files.
```bash
curl http://${host_ip}:6007/v1/dataprep/ingest \
-X POST \
-H "Content-Type: multipart/form-data" \
-F "files=@./file1.pdf" \
-F "files=@./file2.txt" \
-F "index_name=my_API_document" | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
c894bba2-3b46-4409-9db8-361f60194204 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 1 | opea-semantic-v1 | 9b37a8812b810712 | Intel® Gaudi® AI Accelerators. To quickly learn about OPEA and set up the required hardware and software, follow the instructions in the [Getting Started](../../../getting-started/README.md) section.
## Overview | ai_ref_knowledge | OPEA Documentation | Intel® Gaudi® AI Accelerators. To quickly learn about OPEA and set up the required hardware and software, follow the instructions in the [Getting Started](../../../getting-started/README.md) section.
## Overview | Intel® Gaudi® AI Accelerators. To quickly learn about OPEA and set up the required hardware and software, follow the instructions in the [Getting Started](../../../getting-started/README.md) section.
## Overview | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
c90f87ef-bcc5-456d-bdee-e4ebf6a2e898 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 24 | opea-semantic-v1 | c0ccba0290d31c78 | Check if all the containers launched via `docker compose` are running i.e. each container's `STATUS` is `Up` and in some cases `Healthy`.
Run this command to see this info:
```bash
docker ps -a | ai_ref_knowledge | OPEA Documentation | Check if all the containers launched via `docker compose` are running i.e. each container's `STATUS` is `Up` and in some cases `Healthy`.
Run this command to see this info:
```bash
docker ps -a | Check if all the containers launched via `docker compose` are running i.e. each container's `STATUS` is `Up` and in some cases `Healthy`.
Run this command to see this info:
```bash
docker ps -a | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
d612a09b-8e6d-475b-a6da-d55c82762a5f | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 4 | opea-semantic-v1 | 0cd643f18ac35d1e | input as the prompt, and generating code. Although multiple versions of the UI can be deployed, this tutorial will focus solely on the default version.
## Prerequisites | ai_ref_knowledge | OPEA Documentation | input as the prompt, and generating code. Although multiple versions of the UI can be deployed, this tutorial will focus solely on the default version.
## Prerequisites | input as the prompt, and generating code. Although multiple versions of the UI can be deployed, this tutorial will focus solely on the default version.
## Prerequisites | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
e0bddec2-9a34-426c-afc2-813868084a77 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 18 | opea-semantic-v1 | c3cf9ac5d5f6ac6e | on a laptop, modify `BACKEND_SERVICE_ENDPOINT` to use `localhost` or `127.0.0.1` instead of `host_ip` inside `set_env.sh` for the backend to properly receive data from the UI.
Run the `set_env.sh` script. ```bash
cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose
source ./set_env.sh | ai_ref_knowledge | OPEA Documentation | on a laptop, modify `BACKEND_SERVICE_ENDPOINT` to use `localhost` or `127.0.0.1` instead of `host_ip` inside `set_env.sh` for the backend to properly receive data from the UI.
Run the `set_env.sh` script. ```bash
cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose
source ./set_env.sh | on a laptop, modify `BACKEND_SERVICE_ENDPOINT` to use `localhost` or `127.0.0.1` instead of `host_ip` inside `set_env.sh` for the backend to properly receive data from the UI.
Run the `set_env.sh` script. ```bash
cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose
source ./set_env.sh | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
e972df5a-954c-4c46-a1b9-ffa922e67467 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 26 | opea-semantic-v1 | f8e71b6f15e4d94a | 4 minutes ago Up 4 minutes (healthy) 0.0.0.0:8028->80/tcp, [::]:8028->80/tcp vllm-server f7c1cb49b96b ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "/bin/sh -c 'apt-get…" 4 minutes ago Up 4 minutes (healthy) 0.0.0.0:8090->80/tcp, [::]:8090->80/tcp tei-embedding-serving
Each docker container's log can also be ch... | ai_ref_knowledge | OPEA Documentation | 4 minutes ago Up 4 minutes (healthy) 0.0.0.0:8028->80/tcp, [::]:8028->80/tcp vllm-server f7c1cb49b96b ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "/bin/sh -c 'apt-get…" 4 minutes ago Up 4 minutes (healthy) 0.0.0.0:8090->80/tcp, [::]:8090->80/tcp tei-embedding-serving
Each docker container's log can also be ch... | 4 minutes ago Up 4 minutes (healthy) 0.0.0.0:8028->80/tcp, [::]:8028->80/tcp vllm-server f7c1cb49b96b ghcr.io/huggingface/text-embeddings-inference:cpu-1.5 "/bin/sh -c 'apt-get…" 4 minutes ago Up 4 minutes (healthy) 0.0.0.0:8090->80/tcp, [::]:8090->80/tcp tei-embedding-serving
Each docker container's log can also be ch... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
f173eec8-f414-42ce-927f-3e08905772e8 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/gaudi.md | unknown | cacd4632-c720-4122-996a-4d79c7de6033 | 31 | opea-semantic-v1 | b7f4055922601c85 | ### LLM Microservice
```bash
curl http://${host_ip}:9000/v1/chat/completions\
-X POST \
-H 'Content-Type: application/json' \
-d '{"query":"Implement a high-level API for a TODO list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an excep... | ai_ref_knowledge | OPEA Documentation | ### LLM Microservice
```bash
curl http://${host_ip}:9000/v1/chat/completions\
-X POST \
-H 'Content-Type: application/json' \
-d '{"query":"Implement a high-level API for a TODO list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an excep... | ### LLM Microservice
```bash
curl http://${host_ip}:9000/v1/chat/completions\
-X POST \
-H 'Content-Type: application/json' \
-d '{"query":"Implement a high-level API for a TODO list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an excep... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
023ba576-4c0d-456d-9e5d-7b99fa9dc786 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/xeon.md | unknown | 26019973-4ab6-4e13-81bf-3f72f3760a7a | 16 | opea-semantic-v1 | 1eaf648ded8502af | the list\n\n inputs:\n when_values: [[\"A\"]]\n\n output validations:\n - todo_list contains { text:\"A\" }\n ```\n\n1. Write the first step implementation in any programming language you like.
In this case, we will choose Ruby:\n ```ruby\n def add_"} | ai_ref_knowledge | OPEA Documentation | the list\n\n inputs:\n when_values: [[\"A\"]]\n\n output validations:\n - todo_list contains { text:\"A\" }\n ```\n\n1. Write the first step implementation in any programming language you like.
In this case, we will choose Ruby:\n ```ruby\n def add_"} | the list\n\n inputs:\n when_values: [[\"A\"]]\n\n output validations:\n - todo_list contains { text:\"A\" }\n ```\n\n1. Write the first step implementation in any programming language you like.
In this case, we will choose Ruby:\n ```ruby\n def add_"} | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
15c4c5be-d01a-49a5-a5e9-6afbf439b7ab | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/xeon.md | unknown | 26019973-4ab6-4e13-81bf-3f72f3760a7a | 19 | opea-semantic-v1 | a16b596488bb5edc | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/cpu/xeon
To stop and remove all the containers, use the commands below: | ai_ref_knowledge | OPEA Documentation | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/cpu/xeon
To stop and remove all the containers, use the commands below: | Navigate to the `docker compose` directory for this hardware platform. ```bash cd $WORKSPACE/GenAIExamples/CodeGen/docker_compose/intel/cpu/xeon
To stop and remove all the containers, use the commands below: | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
22549086-b1ee-4fd3-96fe-3110df50a140 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/xeon.md | unknown | 26019973-4ab6-4e13-81bf-3f72f3760a7a | 14 | opea-semantic-v1 | 15642d81cd2e193a | ### vLLM or TGI Service
```bash
curl http://${host_ip}:8028/v1/chat/completions \
-X POST \
-H 'Content-Type: application/json' \
-d '{"model": "Qwen/Qwen2.5-Coder-7B-Instruct", "messages": [{"role": "user", "content": "Implement a high-level API for a TODO list application. The API takes as input an operation reque... | ai_ref_knowledge | OPEA Documentation | ### vLLM or TGI Service
```bash
curl http://${host_ip}:8028/v1/chat/completions \
-X POST \
-H 'Content-Type: application/json' \
-d '{"model": "Qwen/Qwen2.5-Coder-7B-Instruct", "messages": [{"role": "user", "content": "Implement a high-level API for a TODO list application. The API takes as input an operation reque... | ### vLLM or TGI Service
```bash
curl http://${host_ip}:8028/v1/chat/completions \
-X POST \
-H 'Content-Type: application/json' \
-d '{"model": "Qwen/Qwen2.5-Coder-7B-Instruct", "messages": [{"role": "user", "content": "Implement a high-level API for a TODO list application. The API takes as input an operation reque... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
3b8a238e-4300-4b97-aab9-9596ea2250f2 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/xeon.md | unknown | 26019973-4ab6-4e13-81bf-3f72f3760a7a | 18 | opea-semantic-v1 | ecf1129c7559e172 | the port mapping in the `compose.yaml` file as shown below: ```yaml codegen-xeon-ui-server: image: ${REGISTRY:-opea}/codegen-gradio-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, restart the containers for the change to take effect. | ai_ref_knowledge | OPEA Documentation | the port mapping in the `compose.yaml` file as shown below: ```yaml codegen-xeon-ui-server: image: ${REGISTRY:-opea}/codegen-gradio-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, restart the containers for the change to take effect. | the port mapping in the `compose.yaml` file as shown below: ```yaml codegen-xeon-ui-server: image: ${REGISTRY:-opea}/codegen-gradio-ui:${TAG:-latest} ... ports: - "YOUR_HOST_PORT:5173" # Change YOUR_HOST_PORT to the desired port
After making this change, restart the containers for the change to take effect. | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
4176aa0c-ce2e-40aa-a202-f0b3ab10e019 | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/xeon.md | unknown | 26019973-4ab6-4e13-81bf-3f72f3760a7a | 4 | opea-semantic-v1 | c5c97a2177012ceb | such as a laptop, the following port(s) need to be forwarded when using SSH to login to the host machine: - 7778: CodeGen megaservice port
This port is used for `BACKEND_SERVICE_ENDPOINT` defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to ... | ai_ref_knowledge | OPEA Documentation | such as a laptop, the following port(s) need to be forwarded when using SSH to login to the host machine: - 7778: CodeGen megaservice port
This port is used for `BACKEND_SERVICE_ENDPOINT` defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to ... | such as a laptop, the following port(s) need to be forwarded when using SSH to login to the host machine: - 7778: CodeGen megaservice port
This port is used for `BACKEND_SERVICE_ENDPOINT` defined in the `set_env.sh` for this example inside the `docker compose` folder. Specifically, for CodeGen, append the following to ... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation | |
4cc1962d-c8f0-4edf-8b3d-b69638ff8abf | OPEA Documentation | file://datasets/opea-docs/tutorial/CodeGen/deploy/xeon.md | unknown | 26019973-4ab6-4e13-81bf-3f72f3760a7a | 5 | opea-semantic-v1 | cf6d9f54a12fb327 | with the latest updates will be used. ```bash export RELEASE_VERSION=<Release_Version> # Set desired release version - number only cd GenAIExamples git checkout tags/v${RELEASE_VERSION} cd ..
Set up a [HuggingFace](https://huggingface.co/) account and generate a [user access token](https://huggingface.co/docs/transform... | ai_ref_knowledge | OPEA Documentation | with the latest updates will be used. ```bash export RELEASE_VERSION=<Release_Version> # Set desired release version - number only cd GenAIExamples git checkout tags/v${RELEASE_VERSION} cd ..
Set up a [HuggingFace](https://huggingface.co/) account and generate a [user access token](https://huggingface.co/docs/transform... | with the latest updates will be used. ```bash export RELEASE_VERSION=<Release_Version> # Set desired release version - number only cd GenAIExamples git checkout tags/v${RELEASE_VERSION} cd ..
Set up a [HuggingFace](https://huggingface.co/) account and generate a [user access token](https://huggingface.co/docs/transform... | opea, enterprise-ai, genai, docs, P1 | OPEA Documentation |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.