File tree Expand file tree Collapse file tree 3 files changed +203
-144
lines changed Expand file tree Collapse file tree 3 files changed +203
-144
lines changed Original file line number Diff line number Diff line change 4848 "embla-carousel-react" : " ^8.6.0" ,
4949 "input-otp" : " ^1.4.2" ,
5050 "lucide-react" : " ^0.462.0" ,
51+ "monaco-editor-textmate" : " ^4.0.0" ,
52+ "monaco-textmate" : " ^3.0.1" ,
5153 "next-themes" : " ^0.3.0" ,
54+ "onigasm" : " ^2.2.5" ,
5255 "prismjs" : " ^1.30.0" ,
5356 "react" : " ^18.3.1" ,
5457 "react-day-picker" : " ^8.10.1" ,
6164 "tailwind-merge" : " ^2.6.0" ,
6265 "tailwindcss-animate" : " ^1.0.7" ,
6366 "vaul" : " ^0.9.9" ,
64- "zod" : " ^3.25.76" ,
65- "monaco-editor-textmate" : " ^4.0.0" ,
66- "monaco-textmate" : " ^3.0.1" ,
67- "onigasm" : " ^2.2.5"
67+ "zod" : " ^3.25.76"
6868 },
6969 "devDependencies" : {
7070 "@eslint/js" : " ^9.32.0" ,
Original file line number Diff line number Diff line change 1+ import jaclang
2+ from enum import Enum
3+ from byllm import Model , by
4+ llm = Model (model_name = 'gpt-4o-mini' )
5+
6+ class Tell (Enum ):
7+ YES = 'yes'
8+ NO = 'no'
9+
10+ @by (llm )
11+ def yes_or_no (question : str ) -> Tell :
12+ """Yes/No answering Bot"""
13+
14+ question : str = 'Are you an AI?'
15+ answer : Tell = yes_or_no (question )
16+ print (f'Question: { question } ' )
17+ print ('The bot answered ' + answer .value )
You can’t perform that action at this time.
0 commit comments