-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
97 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
apps/next/src/content/docs/llamaindex/Integration/lang-trace.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: Langtrace | ||
description: Learn how to integrate LlamaIndex.TS with Langtrace. | ||
--- | ||
import { Tab, Tabs } from "fumadocs-ui/components/tabs"; | ||
|
||
Enhance your observability with Langtrace, a robust open-source tool supports OpenTelemetry and is designed to trace, evaluate, and manage LLM applications seamlessly. Langtrace integrates directly with LlamaIndex, offering detailed, real-time insights into performance metrics such as accuracy, evaluations, and latency. | ||
|
||
## Install | ||
|
||
- Self-host or sign-up and generate an API key using [Langtrace](https://www.langtrace.ai) Cloud | ||
|
||
<Tabs groupId="install-langtrase" items={["npm", "yarn", "pnpm"]} persist> | ||
```shell tab="npm" | ||
npm install @langtrase/typescript-sdk | ||
``` | ||
|
||
```shell tab="yarn" | ||
yarn add @langtrase/typescript-sdk | ||
``` | ||
|
||
```shell tab="pnpm" | ||
pnpm add @langtrase/typescript-sdk | ||
``` | ||
</Tabs> | ||
|
||
## Initialize | ||
|
||
```js | ||
import * as Langtrace from "@langtrase/typescript-sdk"; | ||
Langtrace.init({ api_key: "<YOUR_API_KEY>" }); | ||
``` | ||
|
||
Features: | ||
|
||
- OpenTelemetry compliant, ensuring broad compatibility with observability platforms. | ||
- Provides comprehensive logs and detailed traces of all components. | ||
- Real-time monitoring of accuracy, evaluations, usage, costs, and latency. | ||
- For more configuration options and details, visit [Langtrace Docs](https://docs.langtrace.ai/introduction). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"title": "Integration", | ||
"description": "See our integrations", | ||
"pages": ["open-llm-metry", "lang-trace"] | ||
} |
34 changes: 34 additions & 0 deletions
34
apps/next/src/content/docs/llamaindex/Integration/open-llm-metry.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: OpenLLMetry | ||
description: Learn how to integrate LlamaIndex.TS with OpenLLMetry. | ||
--- | ||
import { Tab, Tabs } from "fumadocs-ui/components/tabs"; | ||
|
||
[OpenLLMetry](https://github.com/traceloop/openllmetry-js) is an open-source project based on OpenTelemetry for tracing and monitoring | ||
LLM applications. It connects to [all major observability platforms](https://www.traceloop.com/docs/openllmetry/integrations/introduction) and installs in minutes. | ||
|
||
### Usage Pattern | ||
|
||
|
||
<Tabs groupId="install-traceloop" items={["npm", "yarn", "pnpm"]} persist> | ||
```shell tab="npm" | ||
npm install @traceloop/node-server-sdk | ||
``` | ||
|
||
```shell tab="yarn" | ||
yarn add @traceloop/node-server-sdk | ||
``` | ||
|
||
```shell tab="pnpm" | ||
pnpm add @traceloop/node-server-sdk | ||
``` | ||
</Tabs> | ||
|
||
```js | ||
import * as traceloop from "@traceloop/node-server-sdk"; | ||
traceloop.initialize({ | ||
apiKey: process.env.TRACELOOP_API_KEY, | ||
disableBatch: true | ||
}); | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"title": "Loading Data", | ||
"description": "Loading Data using LlamaIndex.TS", | ||
"pages": ["index"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
"index", | ||
"setup", | ||
"starter", | ||
"readers" | ||
"loading", | ||
"Integration" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters