module DimeAI

Extended Modules

Defined in:

dimeai.cr

Constant Summary

VERSION = "0.1.0"

Instance Method Summary

Instance Method Detail

def create_profile(profile_name, openai_key) #

[View source]
def default_profile : Profile #

[View source]
def get_profile(profile_name) : Profile #

[View source]
def send_request(openai, prompt : String, model : String, history : Array(NamedTuple(role: String, content: String)), &block : String -> ) #

[View source]