-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: quickstart guide errors #575
Conversation
@@ -62,7 +62,7 @@ llama-stack-client --endpoint http://localhost:$LLAMA_STACK_PORT models list | |||
You can test basic Llama inference completion using the CLI too. | |||
```bash | |||
llama-stack-client --endpoint http://localhost:$LLAMA_STACK_PORT \ | |||
inference chat_completion \ | |||
inference chat-completion \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -118,6 +118,7 @@ async def run_main(): | |||
model=os.environ["INFERENCE_MODEL"], | |||
instructions="You are a helpful assistant", | |||
tools=[{"type": "memory"}], # enable Memory aka RAG | |||
enable_session_persistence=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -139,7 +140,7 @@ async def run_main(): | |||
attachments=attachments, | |||
session_id=session_id, | |||
) | |||
async for log in EventLogger().log(response): | |||
for log in EventLogger().log(response): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you kind sir!
What does this PR do?
Addresses a few errors I got when running the quick start guide: https://llama-stack.readthedocs.io/en/latest/getting_started/index.html. We should keep this up to date to maintain engagement with the community.
I've annotated the PR below. Could you PTAL 🙏 ?
Before submitting