Skip to content

Commit f015d81

Browse files
shuning.chenzhirafovod
authored andcommitted
Adding readme for test_langchain_llm.py
1 parent cfc1ce3 commit f015d81

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Update this with your real OpenAI API key
2+
OPENAI_API_KEY=<your openai api key>
3+
APPKEY=<your circuit app key>
4+
# Uncomment and change to your OTLP endpoint
5+
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
6+
OTEL_EXPORTER_OTLP_PROTOCOL=grpc
7+
8+
# Change to 'false' to hide prompt and completion content
9+
OTEL_INSTRUMENTATION_LANGCHAIN_CAPTURE_MESSAGE_CONTENT=true
10+
11+
OTEL_SERVICE_NAME=opentelemetry-python-langchain-manual
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Adding an .env file to set up the environment variables to run the tests.
2+
The test is running by calling LLM APIs provided by Circuit.
3+
There is an sample .env file in this directory.

0 commit comments

Comments
 (0)