3 ms·
The goal of instructor is that i dont write any prompts for you, i just make the openai.ChatCompletion.create call easier to manage and let you return a pass in
by jxnlco 3y ago
The goal of instructor is that i dont write any prompts for you, i just make the openai.ChatCompletion.create call easier to manage and let you return a pass in a pydantic object and return an instance of it,
Whole codebase is 300 lines of code you can copy paste into your own repo into function_calls.py :)
- behnamoh 3y agoOh yeah I really like instructor and have been using it! I was more talking about complicated libraries (as opposed to 300 lines of — well structured code like instructor).