mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 06:55:21 +02:00
Use gpt-4 turbo
This commit is contained in:
parent
dc64d09bc7
commit
9d9d0bbbbd
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class SyncSecurityDetailsJob
|
|||
openai = OpenAI::Client.new(access_token: ENV['OPENAI_ACCESS_TOKEN'])
|
||||
gpt_response = openai.chat(
|
||||
parameters: {
|
||||
model: "gpt-4",
|
||||
model: "gpt-4-1106-preview",
|
||||
messages: [
|
||||
{ role: "system", content: "You are tasked with finding the domain for a company. You are given the company name and the ticker symbol. You are given the following information:\n\nSecurity Name: #{security_name}\nSecurity Symbol: #{symbol}\n\nYou exclusively respond with only the domain and absolutely nothing else." },
|
||||
{ role: "user", content: "What is the domain for this company?" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue