Skip to main content

Langchain Integration in Airtable Using Scripting Extension

  • September 9, 2024
  • 3 replies
  • 4 views

Forum|alt.badge.img+3

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

Forum|alt.badge.img+1
  • New Participant
  • 1 reply
  • September 10, 2024

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.


Forum|alt.badge.img+3
  • Author
  • New Participant
  • 1 reply
  • September 10, 2024
okana_graham wrote:

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.


Forum|alt.badge.img+11
  • Known Participant
  • 21 replies
  • September 10, 2024

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


Reply