From 6f2b7447b76861a974d19067556dcaa97a24431f Mon Sep 17 00:00:00 2001 From: Shivay-at-pieces <143828586+shivay-at-pieces@users.noreply.github.com> Date: Sun, 25 Aug 2024 08:13:37 +0000 Subject: [PATCH 1/3] fix question typo --- docs/build/sdks/python/copilot.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/sdks/python/copilot.mdx b/docs/build/sdks/python/copilot.mdx index d12ce8ebe..ff7b04f46 100644 --- a/docs/build/sdks/python/copilot.mdx +++ b/docs/build/sdks/python/copilot.mdx @@ -40,7 +40,7 @@ for response in pieces_client.copilot.stream_question(question): pieces_client.close() ``` -If you do not want to stream the response, you can use the `quesiton()` method instead. +If you do not want to stream the response, you can use the `question()` method instead. #### Example From 9cc5d22be6f0e042419f13716f7a7dd04c329cd9 Mon Sep 17 00:00:00 2001 From: Shivay-at-pieces <143828586+shivay-at-pieces@users.noreply.github.com> Date: Sun, 25 Aug 2024 08:29:58 +0000 Subject: [PATCH 2/3] Link asset glossary term --- docs/build/sdks/python/quickstart.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build/sdks/python/quickstart.mdx b/docs/build/sdks/python/quickstart.mdx index 8b6255651..eb516561b 100644 --- a/docs/build/sdks/python/quickstart.mdx +++ b/docs/build/sdks/python/quickstart.mdx @@ -80,10 +80,10 @@ pieces_client.close() ### Get All Assets -To get all your assets, you can use the `assets` method of the Pieces Client. Here's an example of how to get all your assets and print their names: +To get all your [assets](/build/glossary/terms/asset), you can use the `assets` method of the Pieces Client. Here's an example of how to get all your assets and print their names: ```python -from pieces_os_client.wrapper import PiecesClient +from pieces_os_client.wrapper import PiecesClientpnp # Initialize the PiecesClient pieces_client = PiecesClient() From 3f7bda318514d2f4259671839bc168afe4e7e091 Mon Sep 17 00:00:00 2001 From: Bishoy Hany <167128903+Bishoy-at-pieces@users.noreply.github.com> Date: Tue, 24 Sep 2024 22:07:34 +0300 Subject: [PATCH 3/3] fix typo --- docs/build/sdks/python/quickstart.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/sdks/python/quickstart.mdx b/docs/build/sdks/python/quickstart.mdx index eb516561b..c811e1f31 100644 --- a/docs/build/sdks/python/quickstart.mdx +++ b/docs/build/sdks/python/quickstart.mdx @@ -83,7 +83,7 @@ pieces_client.close() To get all your [assets](/build/glossary/terms/asset), you can use the `assets` method of the Pieces Client. Here's an example of how to get all your assets and print their names: ```python -from pieces_os_client.wrapper import PiecesClientpnp +from pieces_os_client.wrapper import PiecesClient # Initialize the PiecesClient pieces_client = PiecesClient()