-
Notifications
You must be signed in to change notification settings - Fork 74
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
1 parent
2acca09
commit df46f84
Showing
13 changed files
with
47 additions
and
84 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
help: Makefile ## show list of commands | ||
@echo "Choose a command to run:" | ||
@echo "" | ||
@awk 'BEGIN {FS = ":.*?## "} /[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-40s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | sort | ||
|
||
build-images: ## build images used by docker compose file | ||
@docker compose build | ||
|
||
start/with-docker: build-images ## build and run app using docker compose | ||
@docker compose up | ||
|
||
start/with-docker/only-observability: ## run observability stack using docker compose in debug mode | ||
@docker compose up otel-collector jaeger | ||
|
||
start/with-local: ## run app using docker compose | ||
@docker compose up -d otel-collector jaeger | ||
@OTEL_SERVICE_NAME=quick-start-llm OTEL_TRACES_EXPORTER=otlp OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:4317 opentelemetry-instrument streamlit run ./app/streamlit_app.py | ||
|
||
stop: ## stop all running containers | ||
@docker compose down |
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
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
Binary file modified
BIN
+167 Bytes
(110%)
examples/quick-start-llm/app/__pycache__/telemetry.cpython-312.pyc
Binary file not shown.
Binary file modified
BIN
-92 Bytes
(92%)
examples/quick-start-llm/app/llm/__pycache__/providers.cpython-312.pyc
Binary file not shown.
57 changes: 0 additions & 57 deletions
57
examples/quick-start-llm/app/llm/provider_huggingface_bart.py
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
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
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
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
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
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 |
---|---|---|
|
@@ -3,8 +3,6 @@ receivers: | |
protocols: | ||
grpc: | ||
endpoint: 0.0.0.0:4317 | ||
http: | ||
endpoint: 0.0.0.0:4318 | ||
|
||
processors: | ||
batch: | ||
|
7 changes: 3 additions & 4 deletions
7
...es/quick-start-llm/requirements.macos.txt → ...ples/quick-start-llm/requirements.dev.txt
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
streamlit==1.38.0 | ||
langchain==0.2.16 | ||
langchain-openai==0.1.24 | ||
langchain-huggingface==0.0.3 | ||
langchain-google-genai==1.0.10 | ||
langchain-community==0.2.16 | ||
python-dotenv==1.0.1 | ||
openlit==1.22.2 | ||
watchdog==5.0.2 | ||
opentelemetry-distro==0.45b0 | ||
opentelemetry-distro==0.48b0 | ||
opentelemetry-exporter-otlp==1.27.0 | ||
opentelemetry-exporter-otlp-proto-grpc==1.27.0 | ||
traceloop-sdk==0.30.0 | ||
watchdog==5.0.2 |