You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems like llama-stack-client is not hitting the server at all scoring_functions list
client side error:
llama-stack-client eval run_scoring braintrust::answer-correctness \
--dataset-path ./rag/data/input_llamastack_generated.csv \
--output-dir ./rag/data/results
0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0/2 [ 0:00:16 < -:--:-- , ? it/s ]
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/bin/llama-stack-client", line 8, in <module>
sys.exit(main())
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/llama_stack_client/lib/cli/llama_stack_client.py", line 80, in main
cli()
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/llama_stack_client/lib/cli/eval/run_scoring.py", line 100, in run_scoring
score_res = client.scoring.score(
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/llama_stack_client/resources/scoring.py", line 78, in score
return self._post(
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/llama_stack_client/_base_client.py", line 1261, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/llama_stack_client/_base_client.py", line 953, in request
return self._request(
File "/opt/homebrew/Caskroom/miniforge/base/envs/llamastack-fireworks/lib/python3.10/site-packages/llama_stack_client/_base_client.py", line 1056, in _request
raise self._make_status_error_from_response(err.response) from None
llama_stack_client.NotFoundError: Error code: 404 - {'detail': 'Not Found'}
Expected behavior
should be able to do eval on dataset generated by generate.py
The text was updated successfully, but these errors were encountered:
Wondering if you have the server side logs? The llama_stack_client.NotFoundError: Error code: 404 - {'detail': 'Not Found'} suggests that the endpoint is not found. What is printed out during server startup?
System Info
yaml
Information
🐛 Describe the bug
Steps to reproduce:
llama-stack-client scoring_functions list
and alsoError logs
it seems like llama-stack-client is not hitting the server at all scoring_functions list
client side error:
Expected behavior
should be able to do eval on dataset generated by generate.py
The text was updated successfully, but these errors were encountered: