Help

The Airtable Community will undergo scheduled maintenance on September 17 from 10:00 PM PST to 11:15 PM PST. During this period, you may experience temporary disruptions. We apologize for any inconvenience and appreciate your understanding.

Langchain Integration in Airtable Using Scripting Extension

202 3
cancel
Showing results for 
Search instead for 
Did you mean: 
Danny1
4 - Data Explorer
4 - Data Explorer

I want to integrate langchain in airtable using Javascript. How can i pass values to langchain Prompt/template and log back reponse back to Airtable?

3 Replies 3
okana_graham
4 - Data Explorer
4 - Data Explorer

One suggestion would be to use a small node app with the langchain js & expressjs libraries installed, pass your content using scripts in Airtable then log the response.

Thank you for the reply. Can you please elaborate the solution you have given above.

J_W1
6 - Interface Innovator
6 - Interface Innovator

I think he means a 'worker agent' run on a cloud server like Cloudflare Agents (I think they're called). Here, it;s possible to install - as opposed to Airtable scripts - external libraries. This way you can:

Airtable data > Airtable Script > Worker Agent >  Langchain > Worker Agent > Airtable Script > Airtable Data