AIP Logic(AIP Logic(AIP 逻辑))¶
AIP Logic is a no-code development environment for building, testing, and releasing functions powered by LLMs. AIP Logic enables you to build feature-rich AI-powered functions that leverage the Ontology without the complexity typically introduced by development environments and API calls. Using Logic’s intuitive interface, application builders can engineer prompts, test, evaluate and monitor, set up automation, and more.
You can use AIP Logic to automate and support your critical tasks, whether connecting key information from unstructured inputs to your Ontology, resolving scheduling conflicts, optimizing asset performance by finding the best allocation, reacting to disruptions in your supply chain, or more.

Logic functions can also be automated so that Ontology edits can be automatically applied or staged for human review.
AIP Logic provides an intuitive interface to leverage the Ontology and LLMs via a Logic function that takes inputs (like Ontology objects or text strings) and can return an output (objects and/or strings) or make edits to the Ontology. For example, the LLM-powered function below takes input data from an Ontology object and cross-references that data with a customer email to recommend a solution for a given issue based on previous resolutions.
![One AIP Logic "Use LLM" block which is given a prompt "You are my supply chain helper agent. Find other emails that describe similar events to those described in the input email (at any location). Look only at the email body. Determine the best solution based on what has worked in the past. Return your one solution recommendation, do not list findings from every email." The block has the Query objects tool setup for the "[Titan] Distribution Center Email" object and is provided access to the email content property. The output is set as variable name "recommended solution" in type "primitive, string".](https://palantir.com/docs/resources/foundry/logic/block-use-llm-prompt.png)
AIP Logic is built on the same rigorous security model that governs the rest of the Palantir platform, including user and function permissions. These platform security controls grant an LLM access only to what is necessary to complete a task.
Learn more about the core concepts of AIP Logic or get started with building a Logic function.
中文翻译¶
AIP Logic(AIP 逻辑)¶
AIP Logic 是一个无代码开发环境,用于构建、测试和发布由 LLM(大语言模型)驱动的函数。借助 AIP Logic,您可以构建功能丰富的 AI 驱动函数,这些函数能够利用 Ontology(本体),而无需处理开发环境和 API 调用通常带来的复杂性。通过 Logic 直观的界面,应用构建者可以设计提示词、测试、评估和监控、设置自动化等。
您可以使用 AIP Logic 来自动化和支持关键任务,无论是将非结构化输入中的关键信息连接到 Ontology、解决日程冲突、通过寻找最佳分配来优化资产性能、应对供应链中的中断,还是处理其他场景。

Logic 函数还可以自动化,以便自动应用 Ontology 编辑或将其暂存以供人工审核。
AIP Logic 提供了一个直观的界面,通过 Logic 函数利用 Ontology 和 LLM。该函数接收输入(如 Ontology 对象或文本字符串),并可以返回输出(对象和/或字符串)或对 Ontology 进行编辑。例如,以下由 LLM 驱动的函数从 Ontology 对象中获取输入数据,并将该数据与客户电子邮件进行交叉引用,以根据历史解决方案为给定问题推荐解决方案。
![一个 AIP Logic "Use LLM" 块,其提示词为:"你是我的供应链助手代理。查找描述与输入电子邮件中类似事件的其他电子邮件(不限地点)。仅查看电子邮件正文。根据过去有效的方法确定最佳解决方案。返回一个解决方案建议,不要列出每封邮件的发现结果。" 该块为 "[Titan] Distribution Center Email" 对象设置了 Query objects 工具,并提供了对电子邮件内容属性的访问权限。输出设置为变量名 "recommended solution",类型为 "primitive, string"。](https://palantir.com/docs/resources/foundry/logic/block-use-llm-prompt.png)
AIP Logic 建立在与 Palantir 平台其他部分相同的严格安全模型之上,包括用户和函数权限。这些平台安全控制确保 LLM 仅能访问完成任务所需的信息。