Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

Build LLM-driven applications with Next.js, Vercel and Graphlit - Graphlit

Aug 01, 2024 - news.bensbites.com
The article discusses three new sample applications developed using Graphlit integrated with Next.js and deployable on Vercel. These applications include a Chat Application, a Web Extraction Application, and a File Extraction Application. The Chat Application allows users to upload files to their Graphlit project and initiate a chat conversation to ask questions or summarize the file contents. The Web Extraction Application demonstrates how to scrape a webpage by URL or crawl a website, displaying the extracted Markdown text and structured JSON output. The File Extraction Application supports extracting text from documents, such as PDFs and Word documents, and displays the extracted Markdown text and structured JSON output.

All three applications use the Graphlit Node.js SDK (NPM) for integration with the Graphlit Platform API and are deployable to Vercel via the Deploy button on the README page of each Github repository. The article also provides code snippets for each application to illustrate how to initialize the Graphlit client, process files, send prompts to the conversation, and query the Graphlit client for conversations. For further information, readers are directed to the Graphlit Documentation, the marketing site, or the Discord community.

Key takeaways:

  • Three new sample applications have been built to demonstrate the capabilities of Graphlit integrated with Next.js, and deployable on Vercel.
  • The applications include a Chat Application, a Web Extraction Application, and a File Extraction Application, all of which use the Graphlit Node.js SDK for integration with the Graphlit Platform API.
  • Graphlit can be used to scrape webpages, crawl websites, extract text, and support Retrieval Augmented Generation (RAG) conversations over ingested content.
  • Graphlit also supports extracting text from documents such as PDFs and Word documents, and these files can be uploaded and ingested into the Graphlit client.
View Full Article

Comments (0)

Be the first to comment!