Standardize postal addresses effectively, the prompt ensures that addresses are formatted consistently, removing any irregularities, abbreviations, or unnecessary information. The goal is to follow a universal format (or country-specific format if required).

Standardize the following postal address according to the official postal format for the given country. Ensure the address is formatted consistently by correcting abbreviations, ordering elements correctly (street, city, postal code, etc.), and including any missing information where possible. If the country is not specified, use an internationally recognized format.

Example Input:
123 Elm St, Apt 4b, Somecity, NY, 12345, USA
Flat 12, 456 Oak Rd, Newtown, NDL 5678, UK

Expected Output:
123 Elm Street, Apt 4B, Somecity, NY 12345, USA
Flat 12, 456 Oak Road, Newtown, NDL 5678, UK

## Input
Address: /Address

如何在 CSV 文件上使用此 prompt?

Datablist 允许你拿整个 CSV 文件并在每一行上直接运行 prompts。

好消息是,你需要的 prompt 已在 Datablist 的 "Templates" 区域就绪。无需从零开始!只需选择符合任务的 template,即可在你的 CSV 每一行上运行。用几次点击就能轻松改造你的数据。

在 Datablist 中导入你的 CSV 文件。然后从顶部导航选择 "Enrich"。

选择模板:Normalize/Standardize postal addresses

选择模板
选择模板

使用 "/" 或 '{{' 将 prompt 中的变量替换为你 collection 的属性。

使用你的 collection 属性定义变量
使用你的 collection 属性定义变量

如果缺少某些变量,直接编辑 prompt 即可。

就这么简单! 现在你可以在 CSV 文件的每一行上运行该 prompt,并在新列中获得结果。 🚀

费用是多少?

你有两种选择,且都非常简单。

选项 1 – 使用你自己的 OpenAI API key。

我们这边完全免费。只需接入你的 key,Datablist 会通过你的账号发送请求。你直接向 OpenAI 支付,按其用量计费。没有中间商,无额外费用。

使用你的 API key,以 1,000 个条目为例,你可能向 OpenAI 支付约 $2

非常适合已经有 OpenAI key 或希望完全掌控成本的用户。 加分项: 没有来自我们的速率限制!

选项 2 – 使用 Datablist Credits。

没有 API key?没问题。你可以使用 Datablist 内置的 ChatGPT 账号。我们替你处理 API 相关事项,你只需使用 Datablist credits 结算。

  • API key 设置 – 跳过
  • ChatGPT 限频 – 规避
  • 账号限制 – 无需操心

即插即用。

TL;DR

  • Use your key = 更便宜
  • Use Datablist credits = 更省事

无论哪种方式,你都可掌控。