Browse Source

package/aichat: new package

AIChat helps seamlessly integrate different LLM models, providing access
via the CLI and network. It can serve as a gateway to heterogeneous and
distributed LLMs.

Handy features like roles, macros, and sessions help simplify repetitive
tasks and reuse of existing solutions. Features like playgrounds and
arenas help to explore and compare models.

https://github.com/sigoden/AIChat

Signed-off-by: Alexander Shirokov <shirokovalexs@gmail.com>
[Julien:
 - select BR2_PACKAGE_HOST_RUSTC instead of "depends on"
 - add Apache-2.0 license (package is dual licensed)
 - add LICENSE-APACHE license hash
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
Alexander Shirokov 5 months ago
parent
commit
2e1d51533c
5 changed files with 35 additions and 0 deletions
  1. 3 0
      DEVELOPERS
  2. 1 0
      package/Config.in
  3. 15 0
      package/aichat/Config.in
  4. 4 0
      package/aichat/aichat.hash
  5. 12 0
      package/aichat/aichat.mk

+ 3 - 0
DEVELOPERS

@@ -129,6 +129,9 @@ F:	package/openpgm/
 N:	Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
 F:	package/libest/
 
+N:	Alexander Shirokov <shirokovalexs@gmail.com>
+F:	package/aichat/
+
 N:	Alexander Sverdlin <alexander.sverdlin@gmail.com>
 F:	package/mini-snmpd/
 

+ 1 - 0
package/Config.in

@@ -164,6 +164,7 @@ menu "Debugging, profiling and benchmark"
 endmenu
 
 menu "Development tools"
+	source "package/aichat/Config.in"
 	source "package/avocado/Config.in"
 	source "package/bats-core/Config.in"
 	source "package/binutils/Config.in"

+ 15 - 0
package/aichat/Config.in

@@ -0,0 +1,15 @@
+config BR2_PACKAGE_AICHAT
+	bool "aichat"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	select BR2_PACKAGE_HOST_RUSTC
+	help
+	  AIChat helps seamlessly integrate different LLM models,
+	  providing access via the CLI and network. It can serve
+	  as a gateway to heterogeneous and distributed LLMs.
+
+	  Handy features like roles, macros, and sessions help
+	  simplify repetitive tasks and reuse of existing solutions.
+	  Features like playgrounds and arenas help to explore and
+	  compare models.
+
+	  https://github.com/sigoden/aichat

+ 4 - 0
package/aichat/aichat.hash

@@ -0,0 +1,4 @@
+# Locally generated
+sha256  214af28357dd2b7543120fd23b81614c986ea62d69fade6d80259cb7a42eafdd  aichat-0.30.0-cargo4.tar.gz
+sha256  c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4  LICENSE-APACHE
+sha256  5af431a6a9869052e2be4e71ccd731c7efe45dca47eaca84d4d1fb38f134cb79  LICENSE-MIT

+ 12 - 0
package/aichat/aichat.mk

@@ -0,0 +1,12 @@
+################################################################################
+#
+# aichat
+#
+################################################################################
+
+AICHAT_VERSION = 0.30.0
+AICHAT_SITE = $(call github,sigoden,aichat,v$(AICHAT_VERSION))
+AICHAT_LICENSE = Apache-2.0 or MIT
+AICHAT_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
+
+$(eval $(cargo-package))