Get the domain of a concept set target

getDomain(name, llmClient, costTracker = NULL)

Arguments

name

The name of the concept set.

llmClient

An ellmer chat object to connect to a large language model, as created for example using ellmer::chat_ollama().

costTracker

An environment with an amount variable for keeping track of the total LLM costs.

Value

An uppercase character string with the name of the domain (e.g. 'CONDITION').