Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blib-la/hyv
Chaining AI & API agents to streamline software development and achieve goals collaboratively.
https://github.com/blib-la/hyv
agents ai alpaca artificial-intelligence gpt gpt-3 gpt-4 large-language-models llama llm vicuna
Last synced: about 1 month ago
JSON representation
Chaining AI & API agents to streamline software development and achieve goals collaboratively.
- Host: GitHub
- URL: https://github.com/blib-la/hyv
- Owner: blib-la
- License: agpl-3.0
- Created: 2023-05-01T04:17:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-03T17:32:12.000Z (6 months ago)
- Last Synced: 2024-05-18T19:26:54.943Z (4 months ago)
- Topics: agents, ai, alpaca, artificial-intelligence, gpt, gpt-3, gpt-4, large-language-models, llama, llm, vicuna
- Language: TypeScript
- Homepage:
- Size: 3.86 MB
- Stars: 20
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
- awesome-langchain-zh - Hyv - st/hyv?style=social): node的 AI应用框架 (其他LLM框架 / 文章)
README
# Hyv: The Hub for Your AI Models
[![Discord](https://img.shields.io/discord/1091306623819059300?color=7289da&label=Discord&logo=discord&logoColor=fff&style=for-the-badge)](https://discord.com/invite/m3TBB9XEkb)
[![Codacy coverage](https://img.shields.io/codacy/coverage/e05334c7895344319e321c6d7bee2cf9?logo=jest&style=for-the-badge)](https://app.codacy.com/gh/failfa-st/hyv/dashboard?branch=main)
[![Codacy grade](https://img.shields.io/codacy/grade/e05334c7895344319e321c6d7bee2cf9?logo=codacy&style=for-the-badge)](https://app.codacy.com/gh/failfa-st/hyv/dashboard?branch=main)[![@hyv/core](https://img.shields.io/npm/v/@hyv/core?style=for-the-badge&label=@hyv/core)](https://www.npmjs.com/package/@hyv/core)
[![npm](https://img.shields.io/npm/v/@hyv/utils?style=for-the-badge&label=@hyv/utils)](https://www.npmjs.com/package/@hyv/utils)
[![npm](https://img.shields.io/npm/v/@hyv/openai?style=for-the-badge&label=@hyv/openai)](https://www.npmjs.com/package/@hyv/openai)
[![npm](https://img.shields.io/npm/v/@hyv/store?style=for-the-badge&label=@hyv/store)](https://www.npmjs.com/package/@hyv/store)
[![npm](https://img.shields.io/npm/v/@hyv/stable-diffusion?style=for-the-badge&label=@hyv/stable-diffusion)](https://www.npmjs.com/package/@hyv/stable-diffusion)## Welcome to Hyv
Hyv is a versatile library designed to streamline the integration and interaction of diverse AI
models. With a clean, intuitive, and unified API, Hyv allows developers to manage and collaborate
with various AI models effortlessly.Get started with Hyv now:
```shell
npm i @hyv/core @hyv/openai
```Then, provide your apiKey in a `.env` file
```shell
OPENAI_API_KEY=sk-xxxxxxxx
```Try this simple example to experience Hyv in action:
```ts
import { Agent } from "@hyv/core";
import { GPTModelAdapter, DallEModelAdapter } from "@hyv/openai";// Create agents
const writer = new Agent(new GPTModelAdapter());
const artist = new Agent(new DallEModelAdapter(), {
// Preprocess the task
async before(message) {
return { images: [{ path: "the-future.png", prompt: message.answer }] };
},
});// Assign tasks
const writerResult = await writer.assign({
question: "Describe the future to an artist so that they can draw it",
});
const artistResult = await artist.assign(writerResult.message);
// Do something with the result
console.log(artistResult.message.content);
```## Experience the Power of Hyv: Learn through Interaction in 11 Languages!
Dive into Hyv's universe with our interactive, multilingual docs. Powered by Hyv agents and GPT-4,
they turn learning into a dynamic experience. Understand Hyv's features by engaging with them in
real-time across 11 languages. Simple setup, profound learning. Start your journey with our
[easy setup guide](RUNNING_DOCS_LOCALLY.md) now!## Explore Hyv
- **[Examples](examples)**: Discover practical applications and use-cases of Hyv.
- **[Documentation](pages)**: Dive deep into detailed guides and extensive documentation.
- **[Lingo](https://github.com/failfa-st/lingo/)**: Enhance your usage of large language models
with Lingo, an efficient pseudo-language.
- **[Discord](https://discord.com/invite/m3TBB9XEkb)**: Join our community, share your work, and
learn from others.## Why Choose Hyv?
Hyv is an all-in-one solution for developers:
- **Streamlined Task Management**: Handle complex tasks involving multiple AI models seamlessly.
- **Flexible, Plug-and-play Architecture**: Integrate Hyv into any tech stack with ease. Adapt it
to your specific needs.
- **Broad Compatibility**: Hyv supports diverse AI models, offering limitless possibilities.Embrace the future with Hyv today!