Skip to content

Samples

Sample Console App

The sample console app in this repo show example usage of Build5Nines.SharpVector.

It loads a list of movie titles and descriptions from a JSON file, then allows the user to type in prompts to search the database and return the best matches.

View Source

Here's a screenshot of the test console app running:

Screenshot of sample console app in the terminal

Generative AI + RAG + ONNX Model

This example takes a ONNX Generative AI app and extends it to implement Retrieval Augmented Generation (RAG) using Build5Nines.SharpVector.

View Source

Read the "Build a Generative AI + RAG App in C# with Phi-3, ONNX, and SharpVector " article for a detailed explanation of building this sample app.