7beshoyarnest commited on
Commit
3f3629b
·
verified ·
1 Parent(s): c913d01

Update src/agent_graph/tool_chinook_sqlagent.py

Browse files
src/agent_graph/tool_chinook_sqlagent.py CHANGED
@@ -76,7 +76,7 @@ class ChinookSQLAgent:
76
  executes queries against the database using the appropriate tables.
77
 
78
  Attributes:
79
- sql_agent_llm (ChatOpenAI): The language model used for interpreting and interacting with the database.
80
  db (SQLDatabase): The SQL database object, representing the Chinook database.
81
  full_chain (Runnable): A chain of operations that maps user questions to SQL tables and executes queries.
82
 
@@ -85,7 +85,7 @@ class ChinookSQLAgent:
85
 
86
  Args:
87
  sqldb_directory (str): The directory where the Chinook SQLite database file is located.
88
- llm (str): The name of the LLM model to use (e.g., "gpt-3.5-turbo").
89
  llm_temperature (float): The temperature setting for the LLM, controlling the randomness of responses.
90
  """
91
 
@@ -96,7 +96,7 @@ class ChinookSQLAgent:
96
 
97
  Args:
98
  sqldb_directory (str): The directory path to the SQLite database file.
99
- llm (str): The LLM model identifier (e.g., "gpt-3.5-turbo").
100
  llm_temerature (float): The temperature value for the LLM, determining the randomness of the model's output.
101
  """
102
  self.sql_agent_llm = ChatGroq(model=llm, temperature=llm_temerature)
 
76
  executes queries against the database using the appropriate tables.
77
 
78
  Attributes:
79
+ sql_agent_llm (ChatGroq): The language model used for interpreting and interacting with the database.
80
  db (SQLDatabase): The SQL database object, representing the Chinook database.
81
  full_chain (Runnable): A chain of operations that maps user questions to SQL tables and executes queries.
82
 
 
85
 
86
  Args:
87
  sqldb_directory (str): The directory where the Chinook SQLite database file is located.
88
+ llm (str): The name of the LLM model to use (e.g., "openai/gpt-oss-120b").
89
  llm_temperature (float): The temperature setting for the LLM, controlling the randomness of responses.
90
  """
91
 
 
96
 
97
  Args:
98
  sqldb_directory (str): The directory path to the SQLite database file.
99
+ llm (str): The LLM model identifier (e.g., "openai/gpt-oss-120b").
100
  llm_temerature (float): The temperature value for the LLM, determining the randomness of the model's output.
101
  """
102
  self.sql_agent_llm = ChatGroq(model=llm, temperature=llm_temerature)