Archiver is a command-line application designed to interact with large language models (LLMs) for testing purposes. It leverages Ollama for model integration and SurrealDB as the vector store. The application uses Langchain-rust as the framework for interacting with the Ollama and SurrealDB.
Features
- Conversational Memory: Maintain context across interactions with the LLM.
- Vector Stores: Efficient storage and retrieval of high-dimensional vectors through SurrealDB.
- Ollama Integration: Easy setup and use of Ollama for model management.
- Indexting Files: Add markdown files to SurrealDB.
Prerequisites
Before setting up Archiver, ensure you have the following installed on your system:
- Rust (latest stable version)
- Ollama
- SurrealDB
just
(command runner)
Setup
Ollama
- Install Ollama:
Just
- Install Just:
SurrealDB
-
Download and Install SurrealDB:
|
-
Run SurrealDB:
Setting up SurrealDB
Once Surreal is up and running you can use https://surrealist.app/ to access the instance of Surreal. But before doing that a Namespace and Table need to be setup. Fastest way to get this done is to run Archiver once.
-
Set Namespace and Table:
-
Add Markdown File to the SurrealDB:
Archiver
- Setup from Source:
- Install using Cargo:
License
This project is licensed under the Apache Livense (Version 2.0). See the LICENSE file for details.