Icon

How to Use Langsmith for AI LinkedIn Sales Message Generation

Learn how to use Langsmith to log AI actions, manage LinkedIn Sales prompts, and optimize your AI agent workflow. Step-by-step guide for accessing logs, editing prompts, and real-time updates.

By Miroslav Peshkov

In this guide, we'll learn how to use LangSmith to log and review the actions of an AI system used for LinkedIn Sales. We will see how to filter and analyze logs, explore prompts, and make changes to prompts in real time. This process helps track AI decisions and improve its performance.

Let's get started

Hello! Here is a short guide on how to use Langsmith. This platform allows us to log the actions of our artificial intelligence, which we use in ?????? Here, prompts for LinkedIn Sales are also stored. So, I'll start by showing the logs.

1
Click on "Tracin"
Step #1: Click on "Tracin"
2
Click here
Step #2: Click here

How do you even look at them? Here is the interface; there are filters.

3
Click on "filter"
Step #3: Click on "filter"

We can select by tag and filter AI Sales LinkedIn.

4
Click on "+ And"
Step #4: Click on "+ And"
5
Click here
Step #5: Click here
6
Click on "AI_SALES_LINKEDIN"
Step #6: Click on "AI_SALES_LINKEDIN"

We only see the requests we made in the AI tool for working with AI LinkedIn Sales.

7
Click here
Step #7: Click here

Here, you can view all the available requests. You can open each one to see more details.

8
Click on "# lyompt"
Step #8: Click on "# lyompt"

For example, this is the AI Sales LinkedIn Message Generator. This is the first step: generating messages. Here, we see the prompt that we provide as input. What context are we providing to the AI?

9
Drag "1"
Step #9: Drag "1"

Here are our question-and-answer pairs. By the way, there were some questions and answers.

10
Click on "Question"
Step #10: Click on "Question"
11
Click on "результата"
Step #11: Click on "результата"
12
Click on "Так мы уже общались"
Step #12: Click on "Так мы уже общались"

We provide this as additional information to help him respond well. We provide every story with dialogues and so on.

13
Drag here
Step #13: Drag here
14
Click here
Step #14: Click here

You can also observe how the AI makes decisions.

15
Click here
Step #15: Click here

Next, there is a section called Prompts.

16
Click here
Step #16: Click here

Here we store the prompts that we use for our agent. There are three types of these prompts.

17
Click on "оо"
Step #17: Click on "оо"
18
Drag here
Step #18: Drag here

That is, three separate prompts. How can we make this more convenient?

19
Drag here
Step #19: Drag here

Во! This is the generation of messages, validation, and decision-making.

20
Click on "ai_linkedin_sales_generate_message"
Step #20: Click on "ai_linkedin_sales_generate_message"

Here we can go in and read it. To make changes, click the Playground button.

21
Click on "Playground"
Step #21: Click on "Playground"
22
Click on "Сни НЕ ждут твоего сообщения"
Step #22: Click on "Сни НЕ ждут твоего сообщения"

Edit directly here.

23
Click here
Step #23: Click here

We make corrections and commit. Both saving and changes are preserved. They are applied in real time to the current version of the AI agent. That's probably all. Also, an important detail: to access LangSmith, you need to log in with Google using the anderson@gopher.us account.

Through Google authorization

How to Use Langsmith for AI LinkedIn Sales Message Generation