# \#aip-logic

**URL:** https://community.palantir.com/tag/aip-logic/54.md

[Latest](https://community.palantir.com/latest.md) · [Categories](https://community.palantir.com/categories.md) · [Tags](https://community.palantir.com/tags.md)

---

## [Can AIP Logic query timeseries?](https://community.palantir.com/t/can-aip-logic-query-timeseries/906)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 3\
**Last updated:** [November 5, 2026, 2:03am UTC](https://community.palantir.com/t/can-aip-logic-query-timeseries/906 "2026-11-05T02:03:00Z")

</div>

I have an AIP Logic, which I’m giving access to some Ontology Objects. Those Objects have timeseries properties. Can ask the AIP Logic to query those timeseries ? Can I prompt the AIP Logic for “sum of the last 7 days o…

---

## [Lessons from building with the AI FDE: what it nails, and what to tell it up front](https://community.palantir.com/t/lessons-from-building-with-the-ai-fde-what-it-nails-and-what-to-tell-it-up-front/7377)

<div class="topic-metadata">

**Author:** [@2ffa006a15b15457d492](https://community.palantir.com/u/2ffa006a15b15457d492)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 3:14pm UTC](https://community.palantir.com/t/lessons-from-building-with-the-ai-fde-what-it-nails-and-what-to-tell-it-up-front/7377 "2026-10-14T15:14:43Z")

</div>

I wrote up some lessons from building with the AI FDE on Foundry: Blog Link Sharing the key points here too, in case they save someone else some time. On documented platform paths it’s genuinely fast. It mapped twenty-…

---

## [Am I using AIPLogic correctly?](https://community.palantir.com/t/am-i-using-aiplogic-correctly/965)

<div class="topic-metadata">

**Author:** [@4ec53ada6d93023bc06e](https://community.palantir.com/u/4ec53ada6d93023bc06e)\
**Replies:** 3\
**Last updated:** [January 22, 2025, 2:14am UTC](https://community.palantir.com/t/am-i-using-aiplogic-correctly/965 "2025-01-22T02:14:36Z")

</div>

Background: I have an AIPLogic with a LLM function that will generate a bunch of random data (records) and then return those records as a (ideally) new dataset, however, I cannot see how to return a new dataset so I am c…

---

## [How to obtain a "trace" of an AIP Logic, to display in Workshop?](https://community.palantir.com/t/how-to-obtain-a-trace-of-an-aip-logic-to-display-in-workshop/7284)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 1\
**Last updated:** [September 28, 2026, 8:27am UTC](https://community.palantir.com/t/how-to-obtain-a-trace-of-an-aip-logic-to-display-in-workshop/7284 "2026-09-28T08:27:02Z")

</div>

I want to see a “chain of thought” of an AIP Logic in Workshop. I want to see the steps some LLMs blocks took, which was the exact steps of the execution of the function, what was decided and why. How can I capture the …

---

## [Orchestrator feature from DevCon 5](https://community.palantir.com/t/orchestrator-feature-from-devcon-5/7066)

<div class="topic-metadata">

**Author:** [@rahulgarg](https://community.palantir.com/u/rahulgarg)\
**Replies:** 3\
**Last updated:** [August 18, 2026, 2:08pm UTC](https://community.palantir.com/t/orchestrator-feature-from-devcon-5/7066 "2026-08-18T14:08:59Z")

</div>

Hi, Can i check if this feature from DevCon 5 is live - Orchestrator https://www.youtube.com/watch?v=JDtWhYXHj5k&

---

## [Object Set Filtering using Array in AIP](https://community.palantir.com/t/object-set-filtering-using-array-in-aip/472)

<div class="topic-metadata">

**Author:** [@4ef6e3ffa1890cd90fb8](https://community.palantir.com/u/4ef6e3ffa1890cd90fb8)\
**Replies:** 4\
**Last updated:** [July 27, 2024, 3:22am UTC](https://community.palantir.com/t/object-set-filtering-using-array-in-aip/472 "2024-07-27T03:22:57Z")

</div>

I am unable to filter object set variable in AIP using an array. I want to filter on a particular column that matches all the elements of the array and store it as a subset ObjectSet. I did create a function to do so, Bu…

---

## [Support for "pasting Json" in AIP logic output types to generate output json schema](https://community.palantir.com/t/support-for-pasting-json-in-aip-logic-output-types-to-generate-output-json-schema/5748)

<div class="topic-metadata">

**Author:** [@maddyAWS](https://community.palantir.com/u/maddyAWS)\
**Replies:** 0\
**Last updated:** [December 28, 2025, 8:57pm UTC](https://community.palantir.com/t/support-for-pasting-json-in-aip-logic-output-types-to-generate-output-json-schema/5748 "2025-12-28T20:57:58Z")

</div>

Hi, As we start using multiple agent workflow in AIP logic, I constantly have to create output data types in AIP logic that are farly complex that has to be output one AIP logic function that can either be a ontology ed…

---

## [Better support for Vision Based workflows in AIP logic](https://community.palantir.com/t/better-support-for-vision-based-workflows-in-aip-logic/4588)

<div class="topic-metadata">

**Author:** [@maddyAWS](https://community.palantir.com/u/maddyAWS)\
**Replies:** 0\
**Last updated:** [July 24, 2025, 2:36pm UTC](https://community.palantir.com/t/better-support-for-vision-based-workflows-in-aip-logic/4588 "2025-07-24T14:36:54Z")

</div>

The Palantir AIP Logic documentation doesnt have clear details on how to use Vision based models to send images and prompt with questions to get answers about the image. this solution worked for me https://community.pal…

---

## [Bug Report: Aggressive Numeric Auto-casting and Truncation in AIP Logic Raw Output](https://community.palantir.com/t/bug-report-aggressive-numeric-auto-casting-and-truncation-in-aip-logic-raw-output/5745)

<div class="topic-metadata">

**Author:** [@maddyAWS](https://community.palantir.com/u/maddyAWS)\
**Replies:** 0\
**Last updated:** [December 26, 2025, 7:57pm UTC](https://community.palantir.com/t/bug-report-aggressive-numeric-auto-casting-and-truncation-in-aip-logic-raw-output/5745 "2025-12-26T19:57:09Z")

</div>

Summary In Palantir AIP Logic, string values returned by Compute Module functions are aggressively auto-cast to Integers if they begin with a digit. This occurs even when the function’s output schema explicitly defines t…

---

## [Can an AIP Logic with an optional model input be used with Automate?](https://community.palantir.com/t/can-an-aip-logic-with-an-optional-model-input-be-used-with-automate/6954)

<div class="topic-metadata">

**Author:** [@jason2](https://community.palantir.com/u/jason2)\
**Replies:** 2\
**Last updated:** [August 5, 2026, 2:44pm UTC](https://community.palantir.com/t/can-an-aip-logic-with-an-optional-model-input-be-used-with-automate/6954 "2026-08-05T14:44:35Z")

</div>

I modified an existing AIP Logic to have an optional model parameter to be able to run experiments comparing models. If from the AIP Logic usage panel, I create a new automation, it by default does not list the optional…

---

## [Matrix for TSV2 Function Timeouts](https://community.palantir.com/t/matrix-for-tsv2-function-timeouts/6930)

<div class="topic-metadata">

**Author:** [@ShieldAnvil](https://community.palantir.com/u/ShieldAnvil)\
**Replies:** 0\
**Last updated:** [July 10, 2026, 6:19pm UTC](https://community.palantir.com/t/matrix-for-tsv2-function-timeouts/6930 "2026-07-10T18:19:58Z")

</div>

Other posts have touched on parts of this topic separately. AIP FDE, AIP Assist, and my own documentation reviews cannot come up with definitive answers. I am fine with running things through Automate when needed, but I …

---

## [5 Foundry/AIP features you're probably not using, but should be](https://community.palantir.com/t/5-foundry-aip-features-youre-probably-not-using-but-should-be/6782)

<div class="topic-metadata">

**Author:** [@montes](https://community.palantir.com/u/montes)\
**Replies:** 3\
**Last updated:** [June 29, 2026, 4:33pm UTC](https://community.palantir.com/t/5-foundry-aip-features-youre-probably-not-using-but-should-be/6782 "2026-06-29T16:33:17Z")

</div>

After months of working with the platform, I noticed some of the most powerful features tend to get buried in changelogs. Here’s what’s actually changed my day-to-day workflow, hope it helps anyone onboarding or migratin…

---

## [AIP Logic still reference deleted field for ontology action](https://community.palantir.com/t/aip-logic-still-reference-deleted-field-for-ontology-action/6828)

<div class="topic-metadata">

**Author:** [@manangoel](https://community.palantir.com/u/manangoel)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 4:01pm UTC](https://community.palantir.com/t/aip-logic-still-reference-deleted-field-for-ontology-action/6828 "2026-06-23T16:01:34Z")

</div>

Hi Folks, I observed one bug in the AIP logic functionality. I was using update ontology action in AIP logic. It was published. Now, I removed few fields in that ontology action. Now when I run the AIP logic, it says t…

---

## [Incompatible parameter types for group: Expected Object type but got Object type](https://community.palantir.com/t/incompatible-parameter-types-for-group-expected-object-type-but-got-object-type/6825)

<div class="topic-metadata">

**Author:** [@nandunaik](https://community.palantir.com/u/nandunaik)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 10:36am UTC](https://community.palantir.com/t/incompatible-parameter-types-for-group-expected-object-type-but-got-object-type/6825 "2026-06-23T10:36:12Z")

</div>

I am encountering the following error in my Logic Function on Foundry:Incompatible parameter types for group: Expected Object type but got Object typeThis occurs when I attempt to use a group operation on my dataset. I h…

---

## [Calling AIP Logic published file in Code repositories to use as a function](https://community.palantir.com/t/calling-aip-logic-published-file-in-code-repositories-to-use-as-a-function/547)

<div class="topic-metadata">

**Author:** [@4ef6e3ffa1890cd90fb8](https://community.palantir.com/u/4ef6e3ffa1890cd90fb8)\
**Replies:** 1\
**Last updated:** [July 11, 2024, 10:49pm UTC](https://community.palantir.com/t/calling-aip-logic-published-file-in-code-repositories-to-use-as-a-function/547 "2024-07-11T22:49:17Z")

</div>

How can I call an AIP logic file which I published in a typescript function? The output of the AIP will be a struct. I want to loop the AIP logic file process to get mode of the results. Is there a better way to do it?

---

## [Semantic search through PDF without defined number of results desired](https://community.palantir.com/t/semantic-search-through-pdf-without-defined-number-of-results-desired/623)

<div class="topic-metadata">

**Author:** [@redboyben](https://community.palantir.com/u/redboyben)\
**Replies:** 0\
**Last updated:** [July 3, 2024, 3:28pm UTC](https://community.palantir.com/t/semantic-search-through-pdf-without-defined-number-of-results-desired/623 "2024-07-03T15:28:47Z")

</div>

Hi, I’m trying to do semantic search with results given back by relevance rather than a number (like a KNN would). I see we can sort result by relevance (https://community.palantir.com/t/can-i-display-ordered-results-in-…

---

## [AIP Logic function hits rate limit for 4000 ontology objects](https://community.palantir.com/t/aip-logic-function-hits-rate-limit-for-4000-ontology-objects/4051)

<div class="topic-metadata">

**Author:** [@RajKarri](https://community.palantir.com/u/RajKarri)\
**Replies:** 1\
**Last updated:** [May 30, 2025, 4:36pm UTC](https://community.palantir.com/t/aip-logic-function-hits-rate-limit-for-4000-ontology-objects/4051 "2025-05-30T16:36:16Z")

</div>

I have 20 year history dataset of stock prices with below columns. open: Stock opening price high: Stock highest price of the day low: Stock lowest price of the day close: Stock closing price volume: Total shares t…

---

## [Does the loop in Logic execute sequentially for each element or no?](https://community.palantir.com/t/does-the-loop-in-logic-execute-sequentially-for-each-element-or-no/6415)

<div class="topic-metadata">

**Author:** [@tanmayb](https://community.palantir.com/u/tanmayb)\
**Replies:** 1\
**Last updated:** [April 16, 2026, 9:58am UTC](https://community.palantir.com/t/does-the-loop-in-logic-execute-sequentially-for-each-element-or-no/6415 "2026-04-16T09:58:25Z")

</div>

Is the ‘loop’ transform in AIP Logic async or does it run sequentially for all the elements?

---

## [AIP logic usage of Newer function calling "Tool Use" features](https://community.palantir.com/t/aip-logic-usage-of-newer-function-calling-tool-use-features/1640)

<div class="topic-metadata">

**Author:** [@maddyAWS](https://community.palantir.com/u/maddyAWS)\
**Replies:** 1\
**Last updated:** [November 13, 2024, 3:58pm UTC](https://community.palantir.com/t/aip-logic-usage-of-newer-function-calling-tool-use-features/1640 "2024-11-13T15:58:54Z")

</div>

One of the Most powerful things with AIP Logic is the usage of Tools. For simple tasks the tools work fine, but when using multiple tools with complex logic, the LLM gets the thought process right, but makes mistakes wit…

---

## [Accessing linked object properties when formatting objects to string in AIP Logic](https://community.palantir.com/t/accessing-linked-object-properties-when-formatting-objects-to-string-in-aip-logic/4006)

<div class="topic-metadata">

**Author:** [@lrhyne](https://community.palantir.com/u/lrhyne)\
**Replies:** 0\
**Last updated:** [May 27, 2025, 2:49pm UTC](https://community.palantir.com/t/accessing-linked-object-properties-when-formatting-objects-to-string-in-aip-logic/4006 "2025-05-27T14:49:21Z")

</div>

I’m curious if anyone has a good workaround here without going to write a function (which I expect I’ll do): I’ve got an object set that I want to format as a string for input to the Use LLM block, but one of the proper…

---

## [Media analysis of the video to detect labels](https://community.palantir.com/t/media-analysis-of-the-video-to-detect-labels/6406)

<div class="topic-metadata">

**Author:** [@95ac6765511dd7a8c058](https://community.palantir.com/u/95ac6765511dd7a8c058)\
**Replies:** 1\
**Last updated:** [April 14, 2026, 12:46pm UTC](https://community.palantir.com/t/media-analysis-of-the-video-to-detect-labels/6406 "2026-04-14T12:46:17Z")

</div>

Looking for solutions on Media analysis of the video to detect pre-defined labels and provide time the label was detected in the video. perform video recognition of warning signs: Use the Video Display widget or a d…

---

## [Custom Text Extraction for Tracked-Deletion Text in Word Documents](https://community.palantir.com/t/custom-text-extraction-for-tracked-deletion-text-in-word-documents/6370)

<div class="topic-metadata">

**Author:** [@sm110101](https://community.palantir.com/u/sm110101)\
**Replies:** 1\
**Last updated:** [April 10, 2026, 6:26pm UTC](https://community.palantir.com/t/custom-text-extraction-for-tracked-deletion-text-in-word-documents/6370 "2026-04-10T18:26:39Z")

</div>

Hey everyone! I’m working on a Foundry pipeline where users upload redlined Word documents (.docx), and an LLM in AIP Logic compares proposed deletions against gold-standard language stored in an ontology object. The AI …

---

## [Unofficial starter for deterministic local contract testing in Foundry oriented workflows](https://community.palantir.com/t/unofficial-starter-for-deterministic-local-contract-testing-in-foundry-oriented-workflows/6284)

<div class="topic-metadata">

**Author:** [@higgs](https://community.palantir.com/u/higgs)\
**Replies:** 0\
**Last updated:** [March 30, 2026, 9:08am UTC](https://community.palantir.com/t/unofficial-starter-for-deterministic-local-contract-testing-in-foundry-oriented-workflows/6284 "2026-03-30T09:08:20Z")

</div>

I put together a small open source starter for a problem I kept wanting a cleaner answer to: how to test the TypeScript contract layer around a Foundry oriented workflow before deployment or later platform evaluation. R…

---

## [AIP Logic can't use Ontology types backed by Restricted Views with Project-scoped execution?](https://community.palantir.com/t/aip-logic-cant-use-ontology-types-backed-by-restricted-views-with-project-scoped-execution/6263)

<div class="topic-metadata">

**Author:** [@igor](https://community.palantir.com/u/igor)\
**Replies:** 0\
**Last updated:** [March 26, 2026, 4:19pm UTC](https://community.palantir.com/t/aip-logic-cant-use-ontology-types-backed-by-restricted-views-with-project-scoped-execution/6263 "2026-03-26T16:19:00Z")

</div>

I am trying to create an AIP Logic to create an AI Agent that uses the Ontology SQL tool. It currently uses an object that is backed by a Restricted View and we were using the User-scoped execution that comes by default.…

---

## [Using Compute Module functions in AIP logic](https://community.palantir.com/t/using-compute-module-functions-in-aip-logic/6215)

<div class="topic-metadata">

**Author:** [@noah](https://community.palantir.com/u/noah)\
**Replies:** 1\
**Last updated:** [March 19, 2026, 9:11am UTC](https://community.palantir.com/t/using-compute-module-functions-in-aip-logic/6215 "2026-03-19T09:11:45Z")

</div>

Hi, I am trying to call two functions from my compute module into AIP Logic. I’m getting an error stating that compute module functions are registering as ‘statefulFunction type which is unsupported in scoped mode’ in th…

---

## [Ontology Object Type + Link as context in AIP Logic](https://community.palantir.com/t/ontology-object-type-link-as-context-in-aip-logic/6175)

<div class="topic-metadata">

**Author:** [@brandon](https://community.palantir.com/u/brandon)\
**Replies:** 1\
**Last updated:** [March 13, 2026, 9:55pm UTC](https://community.palantir.com/t/ontology-object-type-link-as-context-in-aip-logic/6175 "2026-03-13T21:55:07Z")

</div>

Hi! I have an ontology object type with a linked type that I want to use as context in an AIP Logic block. Goal: Pass fields from an object plus fields from linked object as a string input to the LLM. What I tried: …

---

## [RemoteException: INTERNAL (Default:Internal) when writing embeddings to Ontology object via AIP Logic Action](https://community.palantir.com/t/remoteexception-internal-default-internal-when-writing-embeddings-to-ontology-object-via-aip-logic-action/6184)

<div class="topic-metadata">

**Author:** [@roushan.kumar](https://community.palantir.com/u/roushan.kumar)\
**Replies:** 1\
**Last updated:** [March 13, 2026, 2:52pm UTC](https://community.palantir.com/t/remoteexception-internal-default-internal-when-writing-embeddings-to-ontology-object-via-aip-logic-action/6184 "2026-03-13T14:52:22Z")

</div>

Problem I’m building an AIP Logic pipeline that processes a PDF and creates a Knowledge Article object. The workflow is: Extract text from a PDF media reference Use an LLM to generate structured fields (Title, Sho…

---

## [AIP Logic output as automated email notification in automate?](https://community.palantir.com/t/aip-logic-output-as-automated-email-notification-in-automate/6137)

<div class="topic-metadata">

**Author:** [@brandon](https://community.palantir.com/u/brandon)\
**Replies:** 2\
**Last updated:** [March 4, 2026, 12:04pm UTC](https://community.palantir.com/t/aip-logic-output-as-automated-email-notification-in-automate/6137 "2026-03-04T12:04:22Z")

</div>

Hi! I made an AIP logic function which reads an object from ontology and derives insights, and would like to use the automate console to have the output of the function be sent in a weekly email (to myself only). When …

---

## [Error in Ontology SQL Tool during AIP Logic LLM Calls](https://community.palantir.com/t/error-in-ontology-sql-tool-during-aip-logic-llm-calls/6113)

<div class="topic-metadata">

**Author:** [@igor](https://community.palantir.com/u/igor)\
**Replies:** 2\
**Last updated:** [March 3, 2026, 11:31am UTC](https://community.palantir.com/t/error-in-ontology-sql-tool-during-aip-logic-llm-calls/6113 "2026-03-03T11:31:34Z")

</div>

I am trying to use the LLM in AIP Logic with the Ontology SQL Tool. My objective is to make the AI Agent do a quick analysis about an ontology type. However, the Ontology SQL Tool produces wrong SQL, and the error messag…

---

## [How can you call variable like this in AIP logic?](https://community.palantir.com/t/how-can-you-call-variable-like-this-in-aip-logic/6116)

<div class="topic-metadata">

**Author:** [@sangyoon.lim](https://community.palantir.com/u/sangyoon.lim)\
**Replies:** 2\
**Last updated:** [March 1, 2026, 11:04am UTC](https://community.palantir.com/t/how-can-you-call-variable-like-this-in-aip-logic/6116 "2026-03-01T11:04:12Z")

</div>

Hi, I am studying about Build with AIP example “Leverage feedback loops in AIP Logic” However, there is something I’ve never seen and how to do it. In the picture above, relaventInstructions variable is called by i…

[Next page](https://community.palantir.com/tag/aip-logic/54.md?match_all_tags=true&page=1&tags%5B%5D=aip-logic)
