Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/feast107/lax
Language-based AI Communication System
https://github.com/feast107/lax
ai chatgpt chatgpt-api control-systems csharp llvm openai productivity signalr
Last synced: about 1 month ago
JSON representation
Language-based AI Communication System
- Host: GitHub
- URL: https://github.com/feast107/lax
- Owner: feast107
- License: mit
- Created: 2023-03-25T15:07:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T01:16:08.000Z (over 1 year ago)
- Last Synced: 2024-11-16T17:13:31.503Z (about 1 month ago)
- Topics: ai, chatgpt, chatgpt-api, control-systems, csharp, llvm, openai, productivity, signalr
- Language: C#
- Homepage:
- Size: 33.7 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :globe_with_meridians: LAX
LAX (Language-based Ai Communication System)
# Demo
![Example](./doc/Example.png)
# Usage
Latest publish [Release beta v0.1.0](https://github.com/feast107/LAX/releases/tag/beta)
+ using `LAX.Server.SignalR` with Dependency injection
``` csharp
IServiceCollection collection;
collection.AddLAXSignalR(new Gpt35AsyncCommunicator()
{
ApiKey = "your api key",
ModelName = "gpt-3.5-turbo",
Temperature = 0
});...
WebApplication app;
app.MapLAXHub("/pattern");
```+ using `LAX.Client` of signalR client
``` csharp
ILAXClient client = new LAXSignalRClient(url)
{
Identifier = "Your Identifier",
Description = "Describe your self"
};
client.OnReceiveOperation += reply => { OnReceive(reply); };
await client.StartAsync();
client.Send(message);
```# Core
Define a set of semantic-based wrappers and unpacks which allows client messages to pass through more AI layers unconsciously
They may contains
+ Risk control
+ Scheduling
+ Authentication`Dynamic proxy` enable AI to intervene in every link.
# Structure
+ [`Abstraction`](./LAX/LAX.Abstraction/) Interfaces that define how to communicate and transform messages.
+ `Operation`
+ [`Operation`](./LAX/LAX.Operation/) Implements of message transformations.
+ `Communication`
+ [`Communication`](./LAX/LAX.Communication/) Implements of communication with AI.
+ `Execution`
+ [`Client`](./LAX/LAX.Client/) Client behaviors
+ [`Console`](./LAX/LAX.Console/) Demo
+ [`Desktop.Wpf`](./LAX/LAX.Desktop.Wpf/) Desktop
+ [`Server`](./LAX/LAX.Server/) SignalR server