Skip to content

feenkcom/gt4llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gt4llm

is a library for working with LLMs, designed for use with Glamorous Toolkit.

Currently it includes:

  • A client for OpenAI,
  • Some general utilities for working with LLMs.

Installation

There are two ways to install the gt4llm package: either through a complete installation, or through installing the core and specific adapters only.

Complete installation

Metacello new
	repository: 'github://feenkcom/gt4llm:main/src';
	baseline: 'Gt4Llm';
	load

Load Lepiter

#BaselineOfGt4Llm asClass loadAllLepiterDatabases

Custom installation

Metacello new
	repository: 'github://feenkcom/gt4llm:main/src';
	baseline: 'Gt4LlmCore';
	load

If you want the OpenAI-specific code, you can additionally install:

Metacello new
	repository: 'github://feenkcom/gt4llm:main/src';
	baseline: 'Gt4OpenAI';
	load

If you want the Ollama-specific code, you can additionally install:

Metacello new
	repository: 'github://feenkcom/gt4llm:main/src';
	baseline: 'Gt4Ollama';
	load

Load Lepiter

After installing the OpenAI client with Metacello, you will be able to execute

#BaselineOfGt4OpenAI asClass loadLepiter

After installing the Ollama client with Metacello, you will be able to execute

#BaselineOfGt4Ollama asClass loadLepiter

Have fun!

About

A GT package for working with LLMs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •