Threads
Adapted from the Griptape AI Framework documentation.
A Thread can be created to store conversation history across any LLM invocation. A Thread contains a list of Messages. Messages can be updated and deleted, in order to control how the LLM recalls past conversations.
A Thread can be given an alias
so it can be referenced by a user-provided unique identifier:
export GT_CLOUD_API_KEY=<your API key here> export ALIAS=<your thread alias> curl -H "Authorization: Bearer ${GT_CLOUD_API_KEY}" "https://cloud.griptape.ai/api/threads?alias=${ALIAS}"
Could this page be better? Report a problem or suggest an addition!