-
Notifications
You must be signed in to change notification settings - Fork 50
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
Python sdk #547
Python sdk #547
Conversation
… Add features section. Add introduction. Add Usage section. Add community section.
…edirec to Pieces OS docs. Change Usage to Initialize SDK. Update instructions to initialize Pieces OS. Update Features to table and content. Add parameters, return type, and example sections for the following: ask_question(), create_conversation(), prompt_conversation(), get_conversation(), update_conversation_name(), get_conversations(), get_user_profile_picture(), and Full Example using all Python SDK methods
@choir27 is attempting to deploy a commit to the Pieces for Developers Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
docs/build/copilot/python/index.mdx
Outdated
If you are using a remote instance of Pieces OS, use the URL you have set up for that. | ||
|
||
```python | ||
from pieces_copilot_sdk import PiecesClient |
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.
Hey @choir27 this is wonderful! Just one small comment, at the moment, @bishoy-at-pieces @mason-at-pieces @jimbobbennett are working on the Wrapper SDK implementation which will be added to the main Pieces Org. There is a complete rewrite of the wrapper SDK code being implemented right now which means that the implementation for the methods will change. But this is a good start. It also gives us good time to rethink how to actually structure the docs regarding the SDK.
On a high level - we can think of initially introducing: what are the main category of APIs such as Assets APIs, Conversation APIs and have individual docs for each of these broad category alongside one main doc around the core SDK.
Let me know your thoughts @mason-at-pieces
…thods and properties to copilot and assets for python sdk
Absolutely great work @choir27 💪💪 |
sidebars.ts
Outdated
{ | ||
type: 'doc', | ||
id: 'build/sdks/python/index', | ||
label: '📚 Python', |
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.
Can we update the label with Python icon? Not sure if that is possible @mason-at-pieces @choir27
docs/build/sdks/python/index.mdx
Outdated
Copilot Chats | Communicate seamlessly with copilot chats functionality. | ||
Asset Management | Save and manage assets and formats efficiently. | ||
Local Server Interaction | Interact with a locally hosted server for various functionalities. | ||
Multi LLMs support | Use any Pieces supported LLMs to power apps. |
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.
Use any of the Pieces supported offline and online LLMs
description: Quickly set up the Pieces Wrapper Python SDK | ||
--- | ||
|
||
# Python QuickStart |
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.
Quickstart
|
||
If you are using a remote instance of Pieces OS, use the URL you have set up for that. | ||
|
||
## Getting started |
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.
We should mention about our Wrapper here. and how is it different than the base SDK.
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.
LGTM
Adds content, code samples, installation guide, and full example for Pieces Copilot Python SDK
Fixes #541
https://github.com/mason-at-pieces/pieces-copilot-python-sdk