Skip to content

Commit ab155f2

Browse files
committed
update links
1 parent c92aad9 commit ab155f2

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

  • .github/skills/migrate-from-openinference

.github/skills/migrate-from-openinference/SKILL.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ corpus while filtering openinference-framework plumbing tests out (step 7).
2929

3030
User specifies the source, e.g. `openinference-instrumentation-crewai`.
3131

32-
- **Source**: `https://github.com/open-telemetry/donation-openinference/tree/main/python/instrumentation/<source>/`.
32+
- **Source**: It should point to one of the folders in
33+
`https://github.com/open-telemetry/donation-openinference/tree/main/python/instrumentation/`.
3334
Fetch a fresh shallow clone if you don't already have one locally:
3435
```sh
3536
git clone --depth=1 https://github.com/open-telemetry/donation-openinference.git /tmp/openinference
@@ -113,15 +114,15 @@ with the migration flow below.
113114
## Reference material
114115

115116
- **OTel GenAI spans**: <https://github.com/open-telemetry/semantic-conventions-genai/tree/main/docs/gen-ai> — authoritative attribute names, spans, logs, and metrics definitions.
116-
- **OpenInference → OTel attribute mapping** (Arize-maintained): <https://github.com/Arize-ai/openinference/blob/main/spec/genai/README.md>. Use as a quick lookup for what an OpenInference attribute *roughly* corresponds to in OTel; when the mapping disagrees with the official semconv, **the official semconv wins**.
117+
- **OpenInference → OTel attribute mapping** (Arize-maintained): <https://github.com/Arize-ai/openinference/tree/main/spec/genai/README.md>. Use as a quick lookup for what an OpenInference attribute *roughly* corresponds to in OTel; when the mapping disagrees with the official semconv, **the official semconv wins**.
117118
- **Message JSON schemas**:
118119
- input messages: <https://github.com/open-telemetry/semantic-conventions-genai/tree/main/docs/gen-ai/gen-ai-input-messages.json>
119120
- output messages: <https://github.com/open-telemetry/semantic-conventions-genai/tree/main/docs/gen-ai/gen-ai-output-messages.json>
120121
- system instructions: <https://github.com/open-telemetry/semantic-conventions-genai/tree/main/docs/gen-ai/gen-ai-system-instructions.json>
121-
- tool definitions: <https://github.com/open-telemetry/semantic-conventions-genai/blob/main/docs/gen-ai/gen-ai-tool-definitions.json>
122-
- retrieval documents: <https://github.com/open-telemetry/semantic-conventions-genai/blob/main/docs/gen-ai/gen-ai-retrieval-documents.json>
122+
- tool definitions: <https://github.com/open-telemetry/semantic-conventions-genai/tree/main/docs/gen-ai/gen-ai-tool-definitions.json>
123+
- retrieval documents: <https://github.com/open-telemetry/semantic-conventions-genai/tree/main/docs/gen-ai/gen-ai-retrieval-documents.json>
123124

124-
- **Code for above models**: <https://github.com/open-telemetry/semantic-conventions-genai/blob/main/docs/gen-ai/non-normative/models.py>.
125+
- **Code for above models**: <https://github.com/open-telemetry/semantic-conventions-genai/tree/main/docs/gen-ai/non-normative/models.py>.
125126

126127
## Non-negotiable rules
127128

@@ -406,7 +407,7 @@ right (all types from `opentelemetry.util.genai.types` unless noted):
406407
| Server-side tool call (web_search, file_search, code_interpreter, …) | `Message(parts=[ServerToolCall(name=…, server_tool_call=…, id=…)])` |
407408
| Server-side tool call result | `Message(parts=[ServerToolCallResponse(server_tool_call_response=…, id=…)])` |
408409
| Inline image / audio / video bytes | `Blob(mime_type=…, modality="image"\|"audio"\|"video", content=b"…")` |
409-
| External media URL | `Uri(mime_type=…, modality=…, uri="https://…")` |
410+
| External media URL | `Uri(mime_type=…, modality=…, uri="…")` |
410411
| File reference (e.g. OpenAI `file_id`) | `File(mime_type=…, modality=…, file_id="file-…")` |
411412
| Provider-specific item with no semconv mapping | `GenericPart(value=…)` — never silently drop. Flag those in the review report. |
412413

0 commit comments

Comments
 (0)