Spaces:
Running
Running
Updated
Browse files- Graph_RAG.html +4 -4
Graph_RAG.html
CHANGED
|
@@ -87,7 +87,7 @@
|
|
| 87 |
Using Python 3.12.12 environment at: .<br>
|
| 88 |
chroma-hnswlib 0.7.6<br>
|
| 89 |
chromadb 0.5.23<br>
|
| 90 |
-
|
| 91 |
export CHROMA_OTEL_COLLECTION_ENDPOINT="http://{host}:4317"
|
| 92 |
export CHROMA_OTEL_SERVICE_NAME="chroma-server-local"
|
| 93 |
export CHROMA_OTEL_GRANULARITY="all"
|
|
@@ -96,7 +96,7 @@
|
|
| 96 |
PORT={port}
|
| 97 |
DB="{database path}"
|
| 98 |
chroma run --host=$HOST --port=$PORT --path=$DB
|
| 99 |
-
|
| 100 |
</p>
|
| 101 |
|
| 102 |
</td>
|
|
@@ -114,7 +114,7 @@
|
|
| 114 |
Once you have phoenix observability server running and chroma db is sending telemetry data to the server.
|
| 115 |
You can view the results in the dashboard.
|
| 116 |
We will use Phoenix as LLM observability tool. We can get llama index to broadcast execution data to Phoenix<br>
|
| 117 |
-
|
| 118 |
# Phoenix listens for standard HTTP OTLP traces at this endpoint by default
|
| 119 |
endpoint = "http://localhost:6006/v1/traces"
|
| 120 |
exporter = OTLPSpanExporter(endpoint=endpoint)
|
|
@@ -125,7 +125,7 @@
|
|
| 125 |
|
| 126 |
# Auto-instrument LlamaIndex to broadcast execution data
|
| 127 |
LlamaIndexInstrumentor().instrument()
|
| 128 |
-
|
| 129 |
</p>
|
| 130 |
|
| 131 |
</td>
|
|
|
|
| 87 |
Using Python 3.12.12 environment at: .<br>
|
| 88 |
chroma-hnswlib 0.7.6<br>
|
| 89 |
chromadb 0.5.23<br>
|
| 90 |
+
|
| 91 |
export CHROMA_OTEL_COLLECTION_ENDPOINT="http://{host}:4317"
|
| 92 |
export CHROMA_OTEL_SERVICE_NAME="chroma-server-local"
|
| 93 |
export CHROMA_OTEL_GRANULARITY="all"
|
|
|
|
| 96 |
PORT={port}
|
| 97 |
DB="{database path}"
|
| 98 |
chroma run --host=$HOST --port=$PORT --path=$DB
|
| 99 |
+
|
| 100 |
</p>
|
| 101 |
|
| 102 |
</td>
|
|
|
|
| 114 |
Once you have phoenix observability server running and chroma db is sending telemetry data to the server.
|
| 115 |
You can view the results in the dashboard.
|
| 116 |
We will use Phoenix as LLM observability tool. We can get llama index to broadcast execution data to Phoenix<br>
|
| 117 |
+
|
| 118 |
# Phoenix listens for standard HTTP OTLP traces at this endpoint by default
|
| 119 |
endpoint = "http://localhost:6006/v1/traces"
|
| 120 |
exporter = OTLPSpanExporter(endpoint=endpoint)
|
|
|
|
| 125 |
|
| 126 |
# Auto-instrument LlamaIndex to broadcast execution data
|
| 127 |
LlamaIndexInstrumentor().instrument()
|
| 128 |
+
|
| 129 |
</p>
|
| 130 |
|
| 131 |
</td>
|