Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/is-leeroy-jenkins/bocifus

A windows (wpf) application for interacting with the OpenAI API written in C#.
https://github.com/is-leeroy-jenkins/bocifus

Last synced: about 1 month ago
JSON representation

A windows (wpf) application for interacting with the OpenAI API written in C#.

Awesome Lists containing this project

README

        

#### _
![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/DemoImages/Bocifus.png)
### A simple application for interacting with the OpenAI API written in C#

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/web.png) Basics

1. Run the application.
2. Click the button next to the Configuration combo box and set the API key.
3. Type your question or comment in the text box and press Ctrl + Enter or click the Send button to submit.
4. The response from the API will appear in the Assistant text box.
5. Continue the dialogue by sending further messages if necessary.

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/system_requirements.png) Requirements

- You need [VC++ 2019 Runtime](https://aka.ms/vs/17/release/vc_redist.x64.exe) 32-bit and 64-bit versions
- You will need .NET 6.

![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/DemoImages/OpenAIOnWPF.gif)

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/tools.png) Build

- [x] Visual Studio 2022
- [x] Built on Windows Presentation Framework
- [x] Written in C#
- [x] Windows 10/11

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/documentation.png) Documentation

- [User Guide](Resources/Github/Users.md) - how to use Bocifus.
- [Compilation Guide](Resources/Github/Compilation.md) - instructions on how to compile Bocifus.
- [Configuration Guide](Resources/Github/Configuration.md) - information for the Bocifus configuration file.
- [Distribution Guide](Resources/Github/Distribution.md) - distributing Bocifus.

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/csharp.png) Code

- Bocifus supports 'AnyCPU' as well as x86/x64 specific builds
- [Controls](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/UI/Controls) - controls associated main ui layer and related functionality.
- [Enumerations](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/Enumerations) - various enumerations.
- [Extensions](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/Extensions)- useful extension methods by type.
- [Data](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/Data) - tcp/udp/websockets classses
- [Resources](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/Resources) - statistic classes
- [Managers](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/Managers) - other tools used and available.
- [Models](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/Model) - models used in network analysis
- [Services](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/Services) - ai services classes used in Bocifus.
- [Static](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/Static) - static types used by Bocifus.
- [Windows](https://github.com/is-leeroy-jenkins/Bocifus/tree/master/UI/Windows) - window classes

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/edit.png) Dependencies
Here are the key dependencies of this project:
- [**Betalgo.OpenAI** ](https://github.com/betalgo/openai)
- [**ModernWpf**](https://github.com/Kinnara/ModernWpf)
- [**FluentWPF**](https://github.com/sourcechord/FluentWPF)

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/features.png) Examples

![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/DemoImages/OpenAIOnWPF.gif)

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/baby.png) Configurations
OpenAI or AzureOpenAI APIs are available.

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/features.png) History
https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/DemoImages/57471763/d7bcb773-9832-44cc-8a97-a3a13e6f8c18

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/epa.png) Prompts
https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/DemoImages/57471763/1057896a-3f72-495c-9db7-68223e5d1136

## ![](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Resources/Assets/GitHubImages/edit.png) Extras
- For people whose native language is not English.
- English is said to be the most accurate. Use this if you want to interact with the AI in English.
- Requires DeepLearning or Google's translation API.

### NuGet Packages

'''



























### Assebly References


Libraries\System.Data\System.Data.SQLite.dll


Libraries\System.Data\System.Data.SQLite.EF6.dll


Libraries\System.Data\System.Data.SQLite.Linq.dll


Libraries\System.Data\System.Data.SqlServerCe.dll

'''

### License

[MIT](https://github.com/is-leeroy-jenkins/Bocifus/blob/main/Properties/LICENSE)