Browse Source
Merge pull request #175 from redthing1/feat/inferenceparams_record
make InferenceParams a record so we can use `with`
tags/v0.6.0
Haiping
GitHub
2 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
LLama/Common/InferenceParams.cs
|
|
|
@@ -9,7 +9,7 @@ namespace LLama.Common |
|
|
|
/// <summary> |
|
|
|
/// The paramters used for inference. |
|
|
|
/// </summary> |
|
|
|
public class InferenceParams : IInferenceParams |
|
|
|
public record InferenceParams : IInferenceParams |
|
|
|
{ |
|
|
|
/// <summary> |
|
|
|
/// number of tokens to keep from initial prompt |
|
|
|
|