跳至主要内容

Prompt Engineering with GPT & LangChain

Learn prompt engineering best practices while using ChatGPT to analyze the sentiment of financial news headlines and Reddit comments.
Olivier Mertens
Olivier Mertens

创建您的免费账户

实践并学习路径你的进步。

使用 Google 继续继续即表示您接受我们的 使用条款,我们的 隐私政策 ,并且您的数据存储在美国。

与我们一起编写代码,平台:

跟写代码 ↗

The quality of responses from GPT or other large language models is highly dependent on the quality of messages you send it.In this code-along, you'll learn how to perform sentiment analysis with GPT and LangChain, learn about MRKL prompts used to help LLMs reason, and build a simple AI agent. You'll also learn how to use prompt templates and parse the output from prompts, as well as filter bad unsavory content with the moderation API.

主题

相关