@@ -271,17 +271,18 @@ async def search(
271271 max_results : int = 5 ,
272272 ctx : Context | None = None ,
273273) -> list [Document ]:
274- """Search HoloViz documentation using semantic similarity.
274+ """Search the documentation using semantic similarity.
275275
276276 Optimized for finding relevant documentation based on natural language queries.
277277
278- DO use this tool to find answers to questions about HoloViz libraries, such as Panel and hvPlot.
278+ DO use this tool to search the holoviz projects documentation and any additional user-defined
279+ projects.
279280
280281 Args:
281282 query (str): Search query using natural language.
282283 For example "How to style Material UI components?" or "interactive plotting with widgets"
283284 project (str, optional): Optional project filter. Defaults to None.
284- Options : "panel", "panel-material-ui", "hvplot", "param", "holoviews"
285+ Examples : "panel", "panel-material-ui", "hvplot", "param", "holoviews"
285286 content (bool, optional): Whether to include full content. Defaults to True.
286287 Set to False to only return metadata for faster responses.
287288 max_results (int, optional): Maximum number of results to return. Defaults to 5.
@@ -360,7 +361,7 @@ async def display(
360361 A short description of the visualization
361362 method : {"jupyter", "panel"}, default "jupyter"
362363 Execution mode:
363- - "jupyter": Execute code and display the last expression's result
364+ - "jupyter": Execute code and display the last expression's result. The last expression must be dedented fully.
364365 DO use this for standard data visualizations like plots, dataframes, etc. that do not import and use Panel directly.
365366 - "panel": Execute code and and display Panel objects marked .servable()
366367 DO use this for code that imports and uses Panel to create dashboards, apps, and complex layouts.
0 commit comments