-
Notifications
You must be signed in to change notification settings - Fork 470
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Description
I've created a Model following this Example:
GrammarJsonResponse.cs
I'm using the provided grammar, which forces the model to respond in JSON
This works great for the first prompt, but for any subsequent prompt, the response is just Empty
Reproduction Steps
-
Execute the Code in Example:
GrammarJsonResponse.cs -
Write 2 Prompts
=> See: second Prompt is Empty
Environment & Configuration
- Operating system: Windows 11
- .NET runtime version: .NET 8
- LLamaSharp version: 0.15.0
- CUDA version (if you are using cuda backend): 12
- CPU & GPU device: 13th Gen Intel(R) Core(TM) i7-13850HX, 2100 Mhz, 20 Core(s), 28 Logical Processor(s) & Nvidia RTX 4000 Ada Generation Laptop GPU
Known Workarounds
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers