vignxs
vignxs
this works for me @gugupy thanks! ``` llm = ChatOpenAI(temperature=0, model=openai_model_name, verbose=verbose) db = SQLDatabase.from_uri( CONN_STRING, include_tables=include_tables, schema=postgresql_schema, sample_rows_in_table_info=3 memory = ConversationBufferMemory(input_key='input', memory_key="history") dbchain = SQLDatabaseChain( llm_chain=LLMChain(llm=llm, prompt=prompt, memory=memory), database=db,...
try running vercel dev instead of npm run dev that did the magic for me https://github.com/orgs/vercel/discussions/2350#discussioncomment-5850746
`CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; CREATE TABLE IF NOT EXISTS users ( id UUID DEFAULT uuid_generate_v4() PRIMARY KEY, name VARCHAR(255) NOT NULL, email TEXT NOT NULL UNIQUE, password TEXT...
run this one by one in vercel ui then in local use vercel dev to run the app for now forget about the seed part it's not worth debugging
You need execute them in vercel postgres Go to your project in vercel You must have created postgres db for your project based on chapter 6. If you scroll down...
you env doesn't have any values or removed them?
get the db creds from vercel postgres
try running vercel dev instead of npm run dev that did the magic for me https://github.com/orgs/vercel/discussions/2350#discussioncomment-5850746
I didn't do seed rather i ran the ddl and dml manually in vercel postgres ui and in my local i used vercel run.
try running vercel dev instead of npm run dev that did the magic for me https://github.com/orgs/vercel/discussions/2350#discussioncomment-5850746