/LAX

Language-based AI Communication System

Primary LanguageC#MIT LicenseMIT

🌐 LAX

LAX (Language-based Ai Communication System)

Demo

Example

Usage

Latest publish Release beta v0.1.0

  • using LAX.Server.SignalR with Dependency injection

    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

    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