Skip to content

Conversation

xbotter
Copy link
Collaborator

@xbotter xbotter commented Nov 17, 2023

Allow setting Grammar #305 (comment) and stop sequence #289 ,and other InferenceParams

- Add DefaultInferenceParams property to LlamaSharpConfig
- Update GenerateTextAsync method in LlamaSharpTextGeneration to use DefaultInferenceParams if available
- Update OptionsToParams method in LlamaSharpTextGeneration to handle defaultParams
@xbotter xbotter marked this pull request as ready for review November 18, 2023 13:49
@SanftMonster SanftMonster merged commit c94aeab into SciSharp:master Nov 20, 2023
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