📄️ Providers
Providers in LangDB refer to the underlying providers available for large language models (LLMs) that power the database's natural language processing capabilities. These providers are configurable and reusable, allowing you to customize their parameters as needed when creating various models like competions and embeddings.
📄️ Prompts
Prompts serve as the starting point of every conversation, providing the foundational input that empowers LLMs with expressive capabilities. Ranging from concise phrases to elaborate paragraphs, prompts play a crucial role in shaping the quality of responses. Within LangDB, crafting a prompt and associating it with a model is as straightforward as composing a SQL Query.
📄️ Models
Picking your favorite model is the final step in creating a RAG pipeline. LangDB allows you to plug in your desired LLM model and use it for generating responses. Currently, only OpenAI models are supported. As is with prompts, creating a model is as simple as composing a SQL query. After model creation, it can be run as a SQL function to generate responses based on the input text.
📄️ Views
A view, in this context, is a virtual table that is based on result-set of an SQL query. Using views, one can create a similarity search to go over the vector embeddings and get the most relevant results.
📄️ Remote Functions
LangDB enables users to create and integrate their own custom functions using AWS Lambda.
📄️ Static Tools
Static Tools are pre-built utilities provided by LangDB to facilitate seamless interaction between your models and the database, including its tables.