Skip to content

Commit b46a422

Browse files
katmaybbeklapko
andauthored
Apply suggestions from code review
Co-authored-by: Brody <[email protected]>
1 parent 3ff248a commit b46a422

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

src/langsmith/billing.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To set up billing for your LangSmith organization, navigate to the [Usage and Bi
2626

2727
### Developer Plan: set up billing on your personal organization
2828

29-
Personal organizations are limited to 5000 traces per month until a credit card is added. You can add a credit card on the Plans and Billing page as follows:
29+
Personal organizations are limited to 5000 traces per month until a credit card is added. You can add a credit card on the **Plans and Billing** page as follows:
3030

3131
1. Click **Set up Billing**
3232

@@ -39,7 +39,7 @@ Personal organizations are limited to 5000 traces per month until a credit card
3939
If you have not yet created an organization, you need to follow [this guide](/langsmith/set-up-a-workspace#set-up-an-organization) before setting up billing. The following steps assume you are already in a new organization.
4040

4141
<Note>
42-
You cannot use a new organization until you have entered credit card information. After you complete the following steps, you will gain complete access to LangSmith.
42+
You can't use a new organization until you enter credit card information. After you complete the following steps, you will gain complete access to LangSmith.
4343
</Note>
4444

4545
1. Click **Subscribe** on the **Plus** page.
@@ -64,12 +64,12 @@ Once this step is complete, your organization will have access to the rest of La
6464

6565
If you joined LangSmith before pricing was introduced on April 2, 2024, you have the option to upgrade your existing account to set up billing. If you did not set up billing by July 8, 2024, then your account is now rate limited to a maximum of 5,000 traces per month.
6666

67-
1. Navigate to the [Settings page](https://smith.langchain.com/settings) page under **Settings**.
67+
1. Navigate to the [Settings](https://smith.langchain.com/settings) page.
6868
2. Click **Set up Billing**.
6969

7070
![](/langsmith/images/setup-billing-legacy.png)
7171

72-
3. Enter your credit card information. If you are on a Personal organization, this will add you to the Developer plan. If you are on a shared organization, this will add you to the Plus plan. For more information, refer to the guides for the [Developer](#developer-plan%3A-set-up-billing-on-your-personal-organization) or [Plus](#plus-plan%3A-set-up-billing-on-a-shared-organization) respectively, starting at step 2.
72+
3. Enter your credit card information. If you are on a Personal organization, this will add you to the Developer plan. If you are on a shared organization, this will add you to the Plus plan. For more information, refer to the guides for the [Developer](#developer-plan%3A-set-up-billing-on-your-personal-organization) or [Plus](#plus-plan%3A-set-up-billing-on-a-shared-organization) plans respectively, starting at step 2.
7373
4. Claim free credits as a thank you for being an early LangSmith user.
7474

7575
## Update your information
@@ -84,7 +84,7 @@ Business information, tax ID, and invoice email can only be updated for the Plus
8484

8585
![](/langsmith/images/update-invoice-email.png)
8686

87-
To update the email address for invoices follow these steps:
87+
To update the email address for invoices, follow these steps:
8888

8989
1. Navigate to the **Plans and Billing** tab.
9090
2. Locate the section beneath the payment method, where the current invoice email is displayed.
@@ -125,7 +125,7 @@ You may find it helpful to read the following pages, before continuing with this
125125
</Check>
126126

127127
<Note>
128-
Some of the features mentioned in this guide are not currently available in Enterprise plan due to its custom nature of billing. If you are on Enterprise plan and have questions about cost optimization, please reach out to your sales rep or [[email protected]](mailto:[email protected]).
128+
Some of the features mentioned in this guide are not currently available on Enterprise plan due to its custom nature of billing. If you are on the Enterprise plan and have questions about cost optimization, reach out to your sales rep or [[email protected]](mailto:[email protected]).
129129
</Note>
130130

131131
You will learn how to optimize existing spend and prevent future overspend in LangSmith, which includes:
@@ -172,7 +172,7 @@ In the GIF, you'll see that the charges for LangSmith Traces are broken up by "t
172172

173173
These upgrades occur for two reasons:
174174

175-
1. You use extended data retention tracing, whic means by default your traces are retained for 400 days.
175+
1. You use extended data retention tracing, which means by default your traces are retained for 400 days.
176176
2. You use base data retention tracing and use a feature that automatically extends the data retention of a trace. ([Refer to the Auto-Upgrade conceptual docs](/langsmith/administration-overview#data-retention).)
177177

178178
Given that the number of total traces per day is equal to the number of extended retention traces per day, it's most likely the case that this organization is using extended data retention tracing everywhere. As a result, start by optimizing the retention settings.
@@ -242,7 +242,7 @@ Start by setting limits on production usage, since that is where the majority of
242242

243243
#### Set a good total traces limit
244244

245-
Picking the right "total traces" limit depends on the expected load of traces that you will send to LangSmith. It is important to consider potential growth before setting a limit. For example:
245+
Picking the right total traces limit depends on the expected load of traces that you will send to LangSmith. It is important to consider potential growth before setting a limit. For example:
246246

247247
- **Current Load**: The gen AI application is called between 1.2-1.5 times per second, and each API request has a trace associated with it, meaning it logs around 100,000-130,000 traces per day.
248248
- **Expected Growth in Load**: The expectation is that this will double in size in the near future.
@@ -255,7 +255,7 @@ limit = current_load_per_day * expected_growth * days/month
255255
= 7,800,000 traces / month
256256
```
257257

258-
Click on the edit icon on the right side of the table for our **Prod** row, you can enter this limit as follows:
258+
Click on the edit icon on the right side of the table for the **Prod** row to enter the limit.
259259

260260
![](/langsmith/images/p2alllimitonly-v2.png)
261261

@@ -272,14 +272,14 @@ From [Optimization 1](#optimization-1-manage-data-retention), you learned that t
272272
The maximum cost is cut from \~40k per month to \~7.5k per month, because you no longer allow as many expensive data retention upgrades. This ensures that new users on the platform will not accidentally cause cost to balloon.
273273

274274
<Note>
275-
The extended data retention limit can cause features other than traces to stop working once reached. If you plan to use this feature, please read more about its functionality [here](/langsmith/administration-overview#side-effects-of-extended-data-retention-traces-limit).
275+
The extended data retention limit can cause features other than traces to stop working once reached. If you plan to use this feature, read more about its [functionality and side effects](/langsmith/administration-overview#side-effects-of-extended-data-retention-traces-limit).
276276
</Note>
277277

278278
#### Set dev/staging limits and view total spent limit across workspaces
279279

280280
Following a similar logic for the `dev` and `staging` environments, you can set limits at 10% of the production limit on usage for each workspace.
281281

282-
While this works with this usage pattern, setting good dev and staging limits may vary depending on your use case with LangSmith. For example, if you run evals as part of CI/CD in dev or staging, you may want to be more liberal with your usage limits to avoid test failures.
282+
While this works with this usage pattern, setting good dev and staging limits may vary depending on your use case with LangSmith. For example, if you run evals as part of CI/CD in dev or staging, you may want to be more flexible with your usage limits to avoid test failures.
283283

284284
With the limits set, LangSmith shows a maximum spend estimate across all workspaces:
285285

src/langsmith/manage-datasets.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ By default, the version is defined by the timestamp of the change. When you clic
113113

114114
![Version Datasets](/langsmith/images/version-dataset.png)
115115

116-
Note that examples are read-only when viewing a past version of the dataset. You will also see the operations that were between this version of the dataset and the "latest" version of the dataset.
116+
Note that examples are read-only when viewing a past version of the dataset. You will also see the operations that were between this version of the dataset and the latest version of the dataset.
117117

118118
<Note>
119119
By default, the latest version of the dataset is shown in the **Examples** tab and experiments from all versions are shown in the **Tests** tab.
@@ -207,9 +207,7 @@ await evaluate((inputs) => labelText(inputs["input"]), {
207207

208208
Learn more about how to fetch views of a dataset on the [Create and manage datasets programmatically](/langsmith/manage-datasets-programmatically#fetch-datasets) page.
209209

210-
## Share a dataset
211-
212-
### Share a dataset publicly
210+
## Share a dataset publicly
213211

214212
<Warning>
215213
Sharing a dataset publicly will make the **dataset examples, experiments and associated runs, and feedback on this dataset accessible to anyone with the link**, even if they don't have a LangSmith account. Make sure you're not sharing sensitive information.
@@ -223,9 +221,11 @@ From the **Dataset & Experiments** tab, select a dataset, click **⋮** (top rig
223221

224222
### Unshare a dataset
225223

226-
1. Click on **Unshare** by click on **Public** in the upper right hand corner of any publicly shared dataset, then **Unshare** in the dialog. ![Unshare Dataset](/langsmith/images/unshare-dataset.png)
224+
1. Click on **Unshare** by clicking on **Public** in the upper right hand corner of any publicly shared dataset, then **Unshare** in the dialog. ![Unshare Dataset](/langsmith/images/unshare-dataset.png)
225+
226+
2. Navigate to your organization's list of publicly shared datasets, by clicking on **Settings** -> **Shared URLs** or [this link](https://smith.langchain.com/settings/shared), then click on **Unshare** next to the dataset you want to unshare.
227227

228-
2. Navigate to your organization's list of publicly shared datasets, by clicking on **Settings** -> **Shared URLs** or [this link](https://smith.langchain.com/settings/shared), then click on **Unshare** next to the dataset you want to unshare. ![Unshare Trace List](/langsmith/images/unshare-trace-list.png)
228+
![Unshare Trace List](/langsmith/images/unshare-trace-list.png)
229229

230230
## Export a dataset
231231

src/langsmith/set-up-a-workspace.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For a full list of permissions associated with each role, refer to the [Administ
5757

5858
## Set up a workspace
5959

60-
When you log in for the first time, a default [workspace](/langsmith/administration-overview#workspaces) will be created for you automatically in your personal organization. Workspaces are often used to separate resources between different teams or business units to establish clear trust boundaries between them. Within each workspace, Role-Based Access Control (RBAC) manages permissions and access levels, which ensures that users only have access to the resources and settings necessary for their role. Most LangSmith activity happens in the context of a workspace, each of which has its own settings and access controls.
60+
When you log in for the first time, a default [workspace](/langsmith/administration-overview#workspaces) will be created for you in your personal organization. Workspaces are often used to separate resources between different teams or business units to establish clear trust boundaries between them. Within each workspace, Role-Based Access Control (RBAC) manages permissions and access levels, which ensures that users only have access to the resources and settings necessary for their role. Most LangSmith activity happens in the context of a workspace, each of which has its own settings and access controls.
6161

6262
To organize resources within a workspace, you can use [resource tags](/langsmith/set-up-resource-tags).
6363

0 commit comments

Comments
 (0)