RVG.PersonalAiClient
0.0.1
dotnet add package RVG.PersonalAiClient --version 0.0.1
NuGet\Install-Package RVG.PersonalAiClient -Version 0.0.1
<PackageReference Include="RVG.PersonalAiClient" Version="0.0.1" />
paket add RVG.PersonalAiClient --version 0.0.1
#r "nuget: RVG.PersonalAiClient, 0.0.1"
// Install RVG.PersonalAiClient as a Cake Addin
#addin nuget:?package=RVG.PersonalAiClient&version=0.0.1
// Install RVG.PersonalAiClient as a Cake Tool
#tool nuget:?package=RVG.PersonalAiClient&version=0.0.1
RVG.PersonalAiClient
Overview
RVG.PersonalAiClient is an HTTP web client designed to interact seamlessly with the Personal AI (https://personal.ai) API for premium service subscribers. It provides a straightforward and efficient way to engage with your Personal Language Model (PLM), enabling the creation of memories and conversations with the API. This client is particularly useful in managing the complexities and case sensitivities of the Personal AI API, ensuring a smoother user experience.
Both the Personal AI API and this free client are expected to evolve in the months ahead with new capabilities.
Status
- Version: Alpha pre-release
- Stability: Functional with ongoing development
- Use: As-is
Key Features
- Simplifies interaction with Personal AI's API
- Handles case sensitivity and required elements in API requests
- Prevents common request failures and internal server errors
Requirements
- .NET environment compatible with the client
- Personal AI API Key for premium service subscribers
Getting Started
Setting Up
- Install the RVG.PersonalAiClient package.
- Add add your Personal AI API key with the configuration key of
PeronslAi:ApiKey
- Add the Client to your application:
services.AddPersonalAiClient(Configuration);
- Inject
IPersonalAiClient
to use.
Usage:
public interface IPersonalAiClient
{
Task<CreateMemoryResponseDto> CreateMemoryAsync(CreateMemoryRequestDto request, CancellationToken cancellationToken = default);
Task<CreateMessageResponseDto> CreateMessageAsync(CreateMessageRequestDto request, CancellationToken cancellationToken = default);
Task<ValidateApiKeyResponseDto> ValidateApiKeyAsync(CancellationToken cancellationToken = default);
}
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS, OR RVG PERSONAL AI CLIENT CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THIS SOFTWARE IS NOT AFFILIATED WITH, ENDORSED BY, OR IN ANY WAY OFFICIALLY CONNECTED WITH PERSONAL AI OR ANY OF ITS SUBSIDIARIES OR AFFILIATES. THE NAME PERSONAL AI IS USED FOR IDENTIFICATION AND REFERENCE PURPOSES ONLY.
Limitation of Liability
UNDER NO CIRCUMSTANCES SHALL THE AUTHORS, COPYRIGHT HOLDERS, OR RVG PERSONAL AI CLIENT CONTRIBUTORS BE HELD LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Net.Http.Json (>= 8.0.0)
- System.Text.Json (>= 8.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.1 | 159 | 1/10/2024 |
Initial preview release with a working client for memory and message creation.