Whether to allow reference type in everywhere.
If you configure this property to false
, most of reference types
represented by ILlamaSchema.IReference would be escaped to a plain
type unless recursive type case.
This is because some low sized LLM models does not understand the reference type well, and even the large size LLM models sometimes occur the hallucination.
However, the reference type makes the schema size smaller, so that
reduces the LLM token cost. Therefore, if you're using the large size of
LLM model, and want to reduce the LLM token cost, you can configure this
property to true
.
Configuration for Llama schema composition.