File tree Expand file tree Collapse file tree 2 files changed +5
-23
lines changed Expand file tree Collapse file tree 2 files changed +5
-23
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ Here are values we use for Ollama:
8080
81814. **Create embeddings**:
8282
83- The `create- embeddings` service uses `curl` to send an embeddings request
83+ The `embeddings` service uses `curl` to send an embeddings request
8484 to the AI Gateway CLI (aigw) which routes it to Ollama.
8585
8686 ```bash
87- docker compose run --rm create- embeddings
87+ docker compose run --rm embeddings
8888 ```
8989
90905. **Shutdown the example stack**:
Original file line number Diff line number Diff line change @@ -105,34 +105,16 @@ services:
105105 - OPENAI_BASE_URL=http://aigw:1975/v1
106106 - OPENAI_API_KEY=unused
107107
108- # embeddings is the standard OpenAI client (`openai` in pip), instrumented
108+ # create- embeddings is the standard OpenAI client (`openai` in pip), instrumented
109109 # with the following OpenTelemetry instrumentation libraries:
110110 # - openinference-instrumentation-openai (embeddings spans)
111111 # - opentelemetry-instrumentation-httpx (HTTP client spans and trace headers)
112- embeddings :
112+ create- embeddings :
113113 build :
114114 context : ../../tests/internal/testopeninference
115115 dockerfile : Dockerfile.openai_client
116116 target : create-embeddings
117- container_name : embeddings
118- profiles : ["test"]
119- env_file :
120- - ../../.env.ollama
121- - .env.otel.${COMPOSE_PROFILES:-console}
122- environment :
123- - OPENAI_BASE_URL=http://aigw:1975/v1
124- - OPENAI_API_KEY=unused
125-
126- # completion is the standard OpenAI client (`openai` in pip), instrumented
127- # with the following OpenTelemetry instrumentation libraries:
128- # - openinference-instrumentation-openai (completions spans)
129- # - opentelemetry-instrumentation-httpx (HTTP client spans and trace headers)
130- completion :
131- build :
132- context : ../../tests/internal/testopeninference
133- dockerfile : Dockerfile.openai_client
134- target : completion
135- container_name : completion
117+ container_name : create-embeddings
136118 profiles : ["test"]
137119 env_file :
138120 - ../../.env.ollama
You can’t perform that action at this time.
0 commit comments