mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-02-13 07:25:10 -05:00
## CHANGES - Add suppress-think flag to hide thinking blocks - Configure customizable start and end thinking tags - Strip thinking content from final response output - Update streaming logic to respect suppress-think setting - Add YAML configuration support for thinking options - Implement StripThinkBlocks utility function for content filtering - Add comprehensive tests for thinking suppression functionality
27 lines
436 B
YAML
27 lines
436 B
YAML
#this is an example yaml config file for fabric
|
|
|
|
# use fabric pattern names
|
|
pattern: ai
|
|
|
|
# or use a filename
|
|
# pattern: ~/testpattern.md
|
|
|
|
model: phi3:latest
|
|
|
|
# for models that support context length
|
|
modelContextLength: 2048
|
|
|
|
frequencypenalty: 0.5
|
|
presencepenalty: 0.5
|
|
topp: 0.67
|
|
temperature: 0.88
|
|
seed: 42
|
|
|
|
stream: true
|
|
raw: false
|
|
|
|
# suppress vendor thinking output
|
|
suppressThink: false
|
|
thinkStartTag: "<think>"
|
|
thinkEndTag: "</think>"
|