promptslab / Promptify

Prompt Engineering | Prompt Versioning | Use GPT or other prompt based models to get structured output. Join our discord for Prompt-Engineering, LLMs and other latest research
https://discord.gg/m88xfYMbK6
Apache License 2.0
3.21k stars 238 forks source link

initial, chatgpt class #57

Closed eren23 closed 1 year ago

monk1337 commented 1 year ago

Hi Eren, it looks good. Few ideas

1) can we have one parameter called session in the model if that is true then the class will maintain the session automatically 2) let's store the session logs json somewhere in the existing folder, or maybe create a new folder and store 3) since sessions can be exhausting, I was working on one class to trim, and summurize the prompts, we can utilize it here to summurize the last output and append it rather than the entire output?