Skip to content

Conversation

@marcominerva
Copy link
Contributor

Motivation and Context (Why the change? What's the scenario?)

With the exception of MaxTokens, properties of the TextGenerationOptions object used by AskAsync are hard-coded.

High level description (Approach, Design)

This PR addresses issues https://github.com/microsoft/kernel-memory/issues/137 and https://github.com/microsoft/kernel-memory/issues/337. It updates the SearchClientConfig.cs file in the Abstractions project adding the properties that allows to set Temperature, TopP, PresencePenaltiy, etc.

Once the Abstractions project is updated on NuGet, the Core project can be in turn modified to use these new settings in the SearchClient.cs file.

@marcominerva marcominerva requested a review from dluc as a code owner March 5, 2024 11:12
@dluc dluc force-pushed the search-settings branch from 9ac0689 to f172b59 Compare March 5, 2024 21:06
@dluc dluc merged commit d114263 into microsoft:main Mar 5, 2024
@marcominerva marcominerva deleted the search-settings branch March 5, 2024 21:13
@marcominerva marcominerva mentioned this pull request Mar 6, 2024
dluc added a commit that referenced this pull request Mar 7, 2024
## Motivation and Context (Why the change? What's the scenario?)

Address #340, allow to run the service with serverless settings.
Fix config syntax error introduced in #341

Requires a release and follow up PR to upgrade Core.
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

Successfully merging this pull request may close these issues.

2 participants