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

About

Chat interface for your computer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages