llama-stack icon indicating copy to clipboard operation
llama-stack copied to clipboard

docs: Add quick_start.ipynb notebook equivalent of index.md Quickstart guide

Open ChristianZaccaria opened this issue 6 months ago • 2 comments
trafficstars

What does this PR do?

To discuss

Note: works locally, but I am encountering issues when attempting to run through the notebook on Google Colab. Specifically, on the last step to run the demo, the knowledge_search tool doesn't seem to be called i.e.,:

rag_tool> Ingesting document: https://www.paulgraham.com/greatwork.html
prompt> How do you do great work?
inference> I don't have personal experiences or emotions, but I was trained on a large corpus of text data and use various techniques such as natural language processing (NLP) and machine learning algorithms to generate human-like responses.

I would expect to get something like:

rag_tool> Ingesting document: https://www.paulgraham.com/greatwork.html
prompt> How do you do great work?
inference> [knowledge_search(query="What is the key to doing great work")]
tool_execution> Tool:knowledge_search Args:{'query': 'What is the key to doing great work'}
tool_execution> Tool:knowledge_search Response:[TextContentItem(text='knowledge_search tool found 5 chunks:
....
....

ChristianZaccaria avatar May 09 '25 13:05 ChristianZaccaria