transitive-bullshit / agentic

AI agent stdlib that works with any LLM and TypeScript AI SDK.
https://agentic.so
MIT License
16.32k stars 2.13k forks source link

messageStore How To #608

Closed mrahmadt closed 4 months ago

mrahmadt commented 1 year ago

Describe the feature

Hello @transitive-bullshit ,

It would be very useful if you could please write an example in README of how to use messageStore, it will help many people (including me :) ) in how to add history to chatgpt-api

markNZed commented 1 year ago

See https://github.com/transitive-bullshit/chatgpt-api/blob/main/demos/demo-persistence.ts

transitive-bullshit commented 4 months ago

This project is undergoing a major revamp; closing out old issues as part of the prep process.

The chatgpt package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.