Hello,
I am creating a TypeScript function where I’d like to invoke a registered model. I’ve imported the model in question (chatQwen72b) as a resource:
I can invoke the Palantir-provided Llama model using LanguageModels.Llama_3_3_70b_Instruct.createGenericChatCompletion(), but I’m not able to figure out the equivalent for the registered model. It’s possible this is because it is missing an API name:
The model registration looks like this:
@ExternalSystems({ sources: [MySource] })
@ChatCompletion()
public async chatQwen72b(messages: FunctionsGenericChatCompletionRequestMessages, params: GenericCompletionParams): Promise<FunctionsGenericChatCompletionResponse> {
// ...
}
@ChatCompletion() does not appear to accept an API name parameter.
What is the correct way to set this up?

