File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
clients/homebrewupload-client Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ See `examples/servers/homebrewupload`
2424# Navigate to the server directory
2525cd examples/clients/homebrewupload-client
2626
27+ # You need to make a pdf file as test.pdf
28+ # examples/clients/homebrewupload-client/test.pdf
29+
2730# # defualt tested with DeepSeek as LLM provider
2831export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
2932export ANTHROPIC_API_KEY=< Your_API_KEY>
@@ -32,4 +35,9 @@ export ANTHROPIC_API_KEY=<Your_API_KEY>
3235uv run python main.py
3336```
3437
38+ ## Token cosumption discussion
3539
40+ In auther's local test, auther use a pdf with content as ` hello world ` .
41+ When using data style URI ` data...base64... ` it consumes about 30k token after base64.
42+ When using this example, using ` file:...path... ` instead.
43+ Which impls execution out of LLM context, just consumes about token on file path and ` hello world ` .
Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ move to `examples/clients/homebrewupload-client`
2727
2828## Further consideration
2929
30- As if we running it as container, then on k8s, we can use service mesh and etc to handle with security as AA.
30+ As if we running it as container, then on k8s, we can use service mesh and etc to handle with security as AA.
You can’t perform that action at this time.
0 commit comments