microsoft / semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps
https://aka.ms/semantic-kernel
MIT License
21.37k stars 3.14k forks source link

Support for logit_bias #1661

Closed chipalost closed 1 year ago

chipalost commented 1 year ago

Exposing logit_bias at the raw API will unblock customers who need direct access; however, managing tiers of logit_bias can be challenging so additional tooling around this could be useful in the future.

One thing to note is that all models don't support the same properties and OpenAI is the main one that supports logit_bias. Thus, thought will need to be put into how model specific properties are exposed.

chipalost commented 1 year ago

This is a dup of issue 1635.