Make money doing the work you believe in

If you havenโ€™t yet, be sure to try out ๐—ฎ๐—ถ๐˜€๐˜‚๐—ถ๐˜๐—ฒ python library by Andrew Ng.

Itโ€™s pretty simple but powerful. If you are using more than one LLM provider in your applications or you are testing which provider fits your use case the best, this abstraction layer is very convenient.What does the library do?

โžก๏ธ Provides a unified interface for models of different third party providers.

โžก๏ธ Uses a convenient notation of <๐˜ฑ๐˜ณ๐˜ฐ๐˜ท๐˜ช๐˜ฅ๐˜ฆ๐˜ณ>:<๐˜ฎ๐˜ฐ๐˜ฅ๐˜ฆ๐˜ญ_๐˜ต๐˜ข๐˜จ> to call different apis. My thoughts:

โœ… I love how notation similar to container tagging is used to invoke different APIs. It follows software engineering best practices and allows for efficient model versioning in your Agentic apps.

โœ… Useful for quickly testing different combinations of Prompt x Model.

โœ… Open Source - different providers are open to include themselves in the list of supported models.

โ„น๏ธ In general, you would be implementing similar abstractions in your agentic application code - it makes it easier to maintain the codebase due to unified abstraction over multiple providers.

โ“ It implements API ๐˜€๐—ถ๐—บ๐—ถ๐—น๐—ฎ๐—ฟ ๐˜๐—ผ ๐—ข๐—ฝ๐—ฒ๐—ป๐—”๐—œ library. Will the abstraction stick well? Weโ€™ll see. Looking forward to the library evolving!

Install the library by running:

โžก๏ธ pip install aisuite

or

โžก๏ธ pip install aisuite[all] - if you want to install provider libraries (required) together with ๐˜ข๐˜ช๐˜ด๐˜ถ๐˜ช๐˜ต๐˜ฆ.

Github repo: lnkd.in/dTRibHda you already used ๐˜ข๐˜ช๐˜ด๐˜ถ๐˜ช๐˜ต๐˜ฆ? Let me know in the comment section ๐Ÿ‘‡

If you want to get some insights about AI Engineering, I have wrote an article sharing my thoughts here:

Dec 19, 2024
at
1:21 PM
Relevant people

Log in or sign up

Join the most interesting and insightful discussions.