Hi all,
Calling an LLM from a streaming pipeline is a blocker that I am running into… This is how it is set up:
- Typescript function is the only function that can call Palantir LLMs (Python is not yet set up for this)
- Typescript function gets wrapped in an SDK
- Python function calls the typescript function using SDK (This is because only python functions can be used in streaming pipelines / Pipeline Builder)
- The issue lies with using the SDK within the python function in the streaming pipeline…
- I believe it could be:
- when the function is deployed to the pipeline, there is no connection from the pipeline’s container (I think it uses Apache Flink) to call the LLM API service
- or the environment within the Flink container does not have the correct credentials to connect to the foundry client
If anyone could offer guidance on this topic, that would be great!
Thank you!