Skip to content

Commit

Permalink
Merge branch 'main' into Bash-Command-Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bishoy-at-pieces authored Sep 30, 2024
2 parents 5c0b3a9 + e12a14b commit 16e1184
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/build/glossary/terms/masked-language-modeling.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ category: AIML

Masked Language Modeling, or “MLM,” is a pre-training technique used in natural language processing (NLP) to enable a model to predict masked tokens within an input sequence. It is an approach that helps AI models learn a deep understanding of language context and structure without requiring labeled data, making MLM NLP an unsupervised learning method.

Unlike traditional language models that predict the next token in a sequence, MLM can utilize both the previous and subsequent tokens to predict a masked token. As a result, the model is able to better understand the [context](https://docs.pieces.app/build/glossary/terms/Pieces%20Specific/context) surrounding each word.
Unlike traditional language models that predict the next token in a sequence, MLM can utilize both the previous and subsequent tokens to predict a masked token. As a result, the model is able to better understand the [context](https://docs.pieces.app/build/glossary/terms/context) surrounding each word.

## Benefits of Masked Language Modeling
- **Deep contextual understanding** - MLM trains using both left and right contexts of a word, leading to a nuanced understanding of language structure and usage, superior to traditional unidirectional models.
Expand Down
2 changes: 1 addition & 1 deletion docs/build/reference/typescript/models/05-Activity.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Activity | TypeScript SDK

# Activity

consider a rename to Event? That being said if we go with event we need to think about a word to pre/post fix event because it is likely to be a reserved word. additional documentation: https://www.notion.so/getpieces/Activity-4da8de193733441f85f87b510235fb74 Notes: - user/asset/format are all optional, NOT required that one of these are present. - if mechanism == internal we will not display to the user. Thoughts around additional properties. - hmm dismissed array here, that is an array of strings, where the string is the userId that dismissed this notification? or we could potentially do it based on the os_ID. -
consider a rename to Event? That being said if we go with event we need to think about a word to pre/post fix event because it is likely to be a reserved word. Notes: - user/asset/format are all optional, NOT required that one of these are present. - if mechanism == internal we will not display to the user. Thoughts around additional properties. - hmm dismissed array here, that is an array of strings, where the string is the userId that dismissed this notification? or we could potentially do it based on the os_ID. -

## Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/build/sdks/python/copilot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/build/sdks/python/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ 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
Expand Down
9 changes: 8 additions & 1 deletion docs/extensions-plugins/neovim/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ In this tutorial, we'll walk you through the process of setting up and using the

A few things to note before you start installing the Pieces Neovim Plugin:

- The Python based Neovim plugins requires the `pynvim` Python package, which is not included in the default Neovim installation. You can install it by running the following command:
- The Python based Neovim plugins requires the `pynvim` Python package, which is not included in the default Neovim installation.
You can install it in MacOS/Windows by running the following command:

```bash
pip install pynvim
```

If you use Ubuntu 22+ or an Ubuntu-based-distro -

```bash
sudo apt install python3-pynvim
```

- Ensure that you have at least one Neovim package manager installed. For instance, you can install `vim-plug`.
In order to install `vim-plug`, run the following command in your terminal:
Expand Down
2 changes: 0 additions & 2 deletions docs/product-highlights-and-benefits/live-context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ You also can clear Workstream Pattern Engine data at any time, from a specific t

Once you've enabled the Workstream Pattern Engine, go about your usual work for a few minutes, and then head to the Copilot Chats view in the Pieces for Developers Desktop App and select “New Chat.” In the “Set Context” section, tap the option labeled “Live Context." Like before, you can leverage any of our available models, on-device or cloud, to engage with Live Context in the Pieces Copilot, and you can use it across your toolchain to carry on conversations in your favorite IDE and browser.

<Video type={'gif'} src={'/wpe/using-live-context.gif'} alt={'WPE Using Live Context'}/>

:::info

The Workstream Pattern Engine must be turned on to use Live Context. We’ve made this super easy to do from wherever you’re getting started.
Expand Down

0 comments on commit 16e1184

Please sign in to comment.