AI Personal Learning
and practical guidance

Trieve: a full-service RAG cloud infrastructure for search, recommendations and analytics

General Introduction

Trieve is an all-encompassing infrastructure developed by Devflow, Inc. designed for search, recommendations, RAG (retrieval augmentation generation), and analytics. The platform is served via APIs, is self-hosted, and is available for environments such as AWS, GCP, Kubernetes, and Docker Compose.Trieve integrates OpenAI and Jina's embedding model, provides semantic vector search, and supports typo-tolerant full-text/neural search. Trieve also supports multiple filtering and grouping functions to ensure the accuracy and relevance of search results.

Trieve: a full-service RAG cloud infrastructure providing search, recommendations and analytics-1


 

Trieve: a full-service RAG cloud infrastructure providing search, recommendations and analytics-1

Open source PDF to Markdown (PDF2MD): https://github.com/devflowinc/trieve/tree/main/pdf2md

 

Function List

  • self-hosted: Supports self-hosting in VPC or local environments with detailed self-hosting guides.
  • semantic vector search: Integrate OpenAI or Jina embedding models to provide high-quality semantic vector search.
  • Typo Tolerance Search: Providing typo-tolerant neural sparse vector search using the naver/efficient-splade-VI-BT-large-query model.
  • clause highlighting: Enhance user experience by highlighting matching words or sentences in search results.
  • recommender system: Provide personalized recommendations based on user behavior (e.g. favorites, bookmarks, likes).
  • RAG API Routing: Integrates with OpenRouter, provides multiple LLM access options, and supports topic memory management.
  • Hybrid Search: Reordering optimization with BAAI/bge-reranker-large provides the best search results.
  • Freshness bias: Prevent stale results by biasing search results based on the latest content.
  • Adjustable commercialization: Adjust relevance based on signals such as clicks, add to cart or citations.
  • Multiple filtration: Supports various filter types such as date range, substring match, label, numeric value, and so on.
  • grouping function: Support for marking multiple blocks as part of the same file ensures that top results are not duplicated.

 

Using Help

Installation process

  1. Preparing the environment: Ensure that the necessary packages are installed, such as curl, gcc, g++, make, pkg-config, python3, libpq-dev, libssl-dev, etc.
  2. Installing NodeJS and Yarn: Install the NodeJS LTS version using NVM and install Yarn globally.
  3. Setting environment variables: Copy the .env file to the appropriate directory and add the OpenAI API key.
  4. Starting the Docker Service: Start the required container service using docker-compose.
  5. local development: Use tmuxp or terminal tabs to manage the local development services and start the modules.

Guidelines for use

  1. Create an account: Visit a local server, create an account and upload a test dataset.
  2. Search Dataset: Perform a dataset search using a local server to verify that the setup is working properly.
  3. Debugging and Support: If you encounter problems, get support through Discord, or use diesel::debugquery(&query).tostring() debugs SQL queries.

Main function operation flow

  1. semantic vector search: After uploading the data, the system will automatically vectorize it, and users can search semantically through the API.
  2. recommender system: Based on user behavior data, the system will automatically generate recommended content, and users can get the recommended results through the API.
  3. RAG API Routing: Users can select different LLMs for the RAG operation, the system will provide the best results based on the subject memory management.
  4. Hybrid Search: Using the hybrid search function, the system will automatically reorder and optimize to provide the most relevant search results.
  5. Filtering and grouping: Users can set different filters and groupings as needed to ensure the accuracy and relevance of search results.

With the detailed installation and usage guide above, users can easily get started with Trieve's features and take full advantage of its powerful search, recommendation and analysis capabilities.

AI Easy Learning

The layman's guide to getting started with AI

Help you learn how to utilize AI tools at a low cost and from a zero base.AI, like office software, is an essential skill for everyone. Mastering AI will give you an edge in your job search and half the effort in your future work and studies.

View Details>
May not be reproduced without permission:Chief AI Sharing Circle " Trieve: a full-service RAG cloud infrastructure for search, recommendations and analytics

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish