0.1.0 • Published 8 months ago

@graphai/gemini_agent v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@graphai/gemini_agent for GraphAI

Gemini agents for GraphAI.

Install

yarn add @graphai/gemini_agent

Usage

import { GraphAI } from "graphai";
import { geminiAgent } from "@graphai/gemini_agent";

const agents = { geminiAgent };

const graph = new GraphAI(graph_data, agents);
const result = await graph.run();

Agents description

  • geminiAgent - Gemini Agent

Input/Output/Params Schema & samples

Environment Variables

  • geminiAgent
    • GOOGLE_GENAI_API_KEY

GraphData Example

graphDataGeminiMath

{
  "version": 0.5,
  "nodes": {
    "inputData": {
      "value": "hello, let me know the answer 1 + 1"
    },
    "llm": {
      "agent": "geminiAgent",
      "inputs": {
        "prompt": ":inputData"
      }
    }
  }
}
0.1.0

8 months ago

0.0.3

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.2

11 months ago

0.0.1

11 months ago