Skip to content

maxi-w/os-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

os-chat: Chat with your Computer

os-chat allows you to chat with your computer, retrieving all kind of information from log files, CLI commands and an osquery interface.

os-chat use example

✨ Getting Started

☑️ Step 1: Prerequisites

  1. Install osquery
  2. Install PDM

🛠️ Step 2: Installation

Setup the project with

pdm install

⚙️ Step 3: Configure API Key

Setup OpenAI API key:

export OPENAI_API_KEY=sk-***

🎉 Step 4: Start os-chat

pdm run start

📊 Benchmark

The goal of the benchmark is to measure the ability of different LLMs to retriev the relevant information from the available interfaces.

Model Name Model Type Retrieval Accuracy
gpt-3.5-turbo API 1.0
nous-hermes2 local 0.2
llama2 7b local 0.0
llama2 7b-chat local 0.0
openhermes local 0.0

Currently local LLMs are not able to use the interface correctly and therefore retriev no information.

To run the benchmark use the following pdm script:

pdm run benchmark

Note: Currently the benchmark targets are hardcoded for one specific test system and need to be adapted to run on any other system.

More Examples

os-chat use example

os-chat use example

Releases

No releases published

Languages