8000 GitHub - Mehmetymw/genkit-parser
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Mehmetymw/genkit-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenKit Parser

A Go-based ticket classification system that uses Google's Gemini AI model to automatically classify tickets based on their content.

Features

  • Automatic ticket classification using Google's Gemini AI
  • Structured output with severity and component information
  • Easy integration with existing systems

Prerequisites

  • Go 1.24.1 or higher
  • Google Gemini API key

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/genkit-parser.git
cd genkit-parser
  1. Install dependencies:
go mod download
  1. Create a .env file in the root directory and add your Gemini API key:
GEMINI_API_KEY=your_api_key_here

Usage

The application processes ticket descriptions and classifies them into structured data with severity levels (LOW, NORMAL, HIGH) and component information.

Example usage:

var result Ticket
err := classify.Exact(classify.ExactOptions{
    Model:  classify.GoogleGemini,
    APIKey: os.Getenv("GEMINI_API_KEY"),
    Input:  "The login system is down",
    Output: &result,
})

Project Structure

genkit-parser/
├── classify/        # Classification logic
├── main.go         # Main application entry point
├── go.mod          # Go module definition
├── go.sum          # Go dependencies checksum
└── .env            # Environment variables

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0