Skip to content

Commit

Permalink
update gpt params
Browse files Browse the repository at this point in the history
  • Loading branch information
anhao committed Jul 22, 2023
1 parent 8025afb commit 8c77409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/api/vector-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ export default async function handler(req: NextRequest) {
`

const completionOptions: CreateChatCompletionRequest = {
model: "gpt-3.5-turbo",
model: "gpt-3.5-turbo-16k",
messages: [{ role: "user", content: prompt }],
max_tokens: 256,
max_tokens: 4000,
temperature: 0,
stream: true,
}
Expand Down

0 comments on commit 8c77409

Please sign in to comment.