meistrari / cursive-py

✦ The intuitive python LLM framework
171 stars 18 forks source link

DevEx Improvements and Bug Squashing #10

Closed CyrusOfEden closed 1 year ago

CyrusOfEden commented 1 year ago

@henrycunh not sure why it's 8 commits but the diff is very small

CyrusOfEden commented 1 year ago

d187303 includes:

Bugs:

  1. Appending empty CompletionMessages without the appropriate function_call context
  2. Answer not containing function_result

Changes:

  1. cursive.CursiveModel => cursive.CursiveLanguageModel

Improvements:

  1. Functions and Pydantic BaseModels can now be passed directly as functions= or function_call= and
  2. cursive.model.CursiveModel to support struct-generation a la jxnl instructor
henrycunh commented 1 year ago

Amazing, thanks for the contributions!

Do you want to write an example of the new improvements on the README?

CyrusOfEden commented 1 year ago

Updated the README!

henrycunh commented 1 year ago

Thanks @CyrusOfEden, amazing work!

CyrusOfEden commented 1 year ago

Ayyy awesome :)

Wen new release? :P