docs/tutorials/sql_qa/ #28698
Replies: 17 comments 11 replies
-
I noticed that this documentation / tutorial listed a bunch of LLMs, but did not list any Llama-3* models. |
Beta Was this translation helpful? Give feedback.
-
I stuck at the last step of convert-question-to-sql-query, where it gives me an |
Beta Was this translation helpful? Give feedback.
-
Excellent! Working smoothly inside a complex Azure WebApp :D |
Beta Was this translation helpful? Give feedback.
-
@carlosmontoliu, are you saying that you CAN get a Llama-3 model to successfully interact with a SQL database? If so, can you reveal which LLM model and which langchain module you used? |
Beta Was this translation helpful? Give feedback.
-
Can anyone help me figure out why the following isn't retuning any table names after I've saved the db to my Google Drive? print(db.get_usable_table_names()) Thanks |
Beta Was this translation helpful? Give feedback.
-
SharoMonk,
So are you saying that model='llama3-8b-8192' successfully used the
Langchain SQL database module?
from my cell phone -- please excuse typos
…On Mon, Dec 30, 2024, 11:44 AM SharoMonk ***@***.***> wrote:
I used ChatGroq(model='llama3-8b-8192') and it worked with very little
glitches.
—
Reply to this email directly, view it on GitHub
<#28698 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABOAVSBSVGRTVWKTFGVTWT2IFZ6PAVCNFSM6AAAAABTQ4HDT6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRZHAZTINA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hey guys- does this section replace the SQLDatabaseChain? I had been trying out the SQLDatabaseChain YouTube tutorials from as recent as August 2024 but my output no longer matching the tutorials. |
Beta Was this translation helpful? Give feedback.
-
How to integrate dynamicfewhot prompting while implementing multi agetn supervisor workflow |
Beta Was this translation helpful? Give feedback.
-
Does any of the "Agents" examples work for anybody? I'm using OpenAI LLM, I have followed all of the examples from the "Agents" section, without modification. It blows up inside the stream iteration. I get to see the first step (output from |
Beta Was this translation helpful? Give feedback.
-
In system message, it says
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to create the agent following the guide (using ChatVertexAI as my LLM) but keep on getting this same error when executing |
Beta Was this translation helpful? Give feedback.
-
If using FAISS for your vector store, you'll need to pass index and docstore type which can be determined by vectorizing a sample query with your chosen embeddings. Example code below:
|
Beta Was this translation helpful? Give feedback.
-
This code is working fine and I have developed a sample chatbot. |
Beta Was this translation helpful? Give feedback.
-
Hey, There is some example: ================================ Human Message =================================
How many records on customers
None
================================== Ai Message ==================================
To find the number of records in the `customers` table, you can use the following SQL query:
```sql
SELECT COUNT(*) AS customer_count FROM customers; This query will return the total number of rows in the
|
Beta Was this translation helpful? Give feedback.
-
I'm creating an agent which connects to Databricks database and it has some tables with json columns, at time to create a SQL query on that columns the agent don't create correctly the query. What is the correct way to declare this type of queries? |
Beta Was this translation helpful? Give feedback.
-
great tutorial, thank you. |
Beta Was this translation helpful? Give feedback.
-
This documentation is great. For those interested in learning about SQL Agents with LangChain I have created this Tutorial, showing how to build one and analyzing how the agents behaves in a set of increasingly difficult scenarios. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
docs/tutorials/sql_qa/
This guide assumes familiarity with the following concepts:
https://python.langchain.com/docs/tutorials/sql_qa/
Beta Was this translation helpful? Give feedback.
All reactions