Help consuming an endpoint(for an internalAction) from App.tsx

I'm new to the Convex platform, and while running the sample repository from this article(https://stack.convex.dev/ai-chat-using-langchain-and-convex#ingest-data-loading--splitting--embedding-data) I realized I don't know how to consume the endpoint they created with this line (https://github.com/get-convex/convex-ai-chat-langchain/blob/97610aa58f73ac5abaabdb1e926efceb6ff340f7/convex/ingest/load.ts#L35). I have tried different scripts I found in internet but nothing has worked so far.

Can anyone help please?

Thanks in advance!!!
In this second post in our series, we’ll build an AI-powered chat interface using LangChain and its new Convex integration.
Build AI Chat with LangChain and Convex
GitHub
AI chat with context retrieval using Convex and LangChain - get-convex/convex-ai-chat-langchain
convex-ai-chat-langchain/convex/ingest/load.ts at 97610aa58f73ac5ab...
Was this page helpful?