Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Logprobs in Chat completion response #60

Open
soetedja opened this issue Aug 5, 2024 · 0 comments
Open

Adding Logprobs in Chat completion response #60

soetedja opened this issue Aug 5, 2024 · 0 comments

Comments

@soetedja
Copy link

soetedja commented Aug 5, 2024

Hi,

Will the lmstudio chat completion response be added to a logprobs in the response?

Currently, when using OpenAI in .NET library the CreateChatCompletionResponseChoices
the logprobs is a required property and will result in an error.

    [global::System.Text.Json.Serialization.JsonPropertyName("logprobs")]
    [global::System.Text.Json.Serialization.JsonRequired]
    public required global::OpenAI.CreateChatCompletionResponseChoicesLogprobs? Logprobs { get; set; }

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant