Skip to content

Commit

Permalink
docs: fix broken imports and add links for openinference-core (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking authored Dec 3, 2024
1 parent ebd1c05 commit c38f9b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ OpenInference provides a set of instrumentations for popular machine learning SD
| Package | Description | Version |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`@arizeai/openinference-semantic-conventions`](./js/packages/openinference-semantic-conventions) | Semantic conventions for tracing of LLM Apps. | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-semantic-conventions.svg)](https://www.npmjs.com/package/@arizeai/openinference-semantic-conventions) |
| [`@arizeai/openinference-core`](./js/packages/openinference-core) | Core utility functions for instrumentation | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-core.svg)](https://www.npmjs.com/package/@arizeai/openinference-core) |
| [`@arizeai/openinference-instrumentation-openai`](./js/packages/openinference-instrumentation-openai) | OpenInference Instrumentation for OpenAI SDK. | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-instrumentation-openai)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-openai) |
| [`@arizeai/openinference-instrumentation-langchain`](./js/packages/openinference-instrumentation-langchain) | OpenInference Instrumentation for LangChain.js. | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-instrumentation-langchain)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-langchain) |
| [`@arizeai/openinference-vercel`](./js/packages/openinference-vercel) | OpenInference Support for Vercel AI SDK | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-vercel)](https://www.npmjs.com/package/@arizeai/openinference-vercel) |
Expand Down
4 changes: 2 additions & 2 deletions js/packages/openinference-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `@arizeai/openinference-core` package offers utilities to track important ap

```typescript
import { context } from "@opentelemetry/api";
import { setSession } from "@openinference-core";
import { setSession } from "@arizeai/openinference-core";

context.with(setSession(context.active(), { sessionId: "session-id" }), () => {
// Calls within this block will generate spans with the attributes:
Expand All @@ -43,7 +43,7 @@ Each setter function returns a new active context, so they can be chained togeth

```typescript
import { context } from "@opentelemetry/api";
import { setAttributes, setSession } from "@openinference-core";
import { setAttributes, setSession } from "@arizeai/openinference-core";

context.with(
setAttributes(setSession(context.active(), { sessionId: "session-id" }), {
Expand Down

0 comments on commit c38f9b4

Please sign in to comment.