transitive-bullshit / agentic

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

How to get the name/title of a conversation? #467

Closed Eyon closed 1 year ago

Eyon commented 1 year ago

Describe the feature

pls let me know?

tynguyen commented 1 year ago

I am not so sure what you meant but you can trim() the 1st user message (question) to name the conversation.

transitive-bullshit commented 1 year ago

you can use prompt engineering to create a prompt which asks chatgpt what the title of a conversation should be given it's contents.

this is outside the scope of this repo, but you can use the chatgpt package to accomplish this 😄

also see the official examples in https://github.com/openai/openai-cookbook for guidance