File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 uses : actions/checkout@v4
2222
2323 - name : Setup PNPM
24- uses : pnpm/action-setup@v2.2.4
24+ uses : pnpm/action-setup@v4
2525 with :
2626 run_install : true
2727
Original file line number Diff line number Diff line change 1818 uses : actions/checkout@v4
1919
2020 - name : Setup PNPM
21- uses : pnpm/action-setup@v2.2.4
21+ uses : pnpm/action-setup@v4
2222 with :
2323 run_install : true
2424
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ OpenAI API:
4848
4949- ` OPENAI_API_KEY ` : OpenAI API key for Semantic Query.
5050- ` OPENAI_API_URL ` : You may use this with Cloudflare AI Gateway to proxy requests to OpenAI API.
51- - ` OPENAI_MODEL ` : OpenAI API model for Semantic Query. Default to ` gpt-3.5-turbo-1106 ` .
51+ - ` OPENAI_MODEL ` : OpenAI API model for Semantic Query. Default to ` gpt-4.1-mini ` .
5252
5353Cloudflare AI Worker:
5454
@@ -67,4 +67,4 @@ Cloudflare AI Worker:
6767
6868![ semantic-query] ( ./images/semantic-query.png )
6969
70- > Semantic Query uses OpenAI GPT-3.5 Turbo to translate natural language queries into SQL.
70+ > Semantic Query uses OpenAI GPT-4.1 Mini to translate natural language queries into SQL.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ debug.enable("aid*");
88const log = debug ( "assistant" ) ;
99log . enabled = true ;
1010
11- const OPENAI_MODEL = env . OPENAI_MODEL || "gpt-3.5-turbo-1106 " ;
11+ const OPENAI_MODEL = env . OPENAI_MODEL || "gpt-4.1-mini " ;
1212const CFAI_MODEL = env . CFAI_MODEL || "@cf/mistral/mistral-7b-instruct-v0.1" ;
1313
1414/**
You can’t perform that action at this time.
0 commit comments