Settings

Theme

Things I wish I knew before building a GPT agent for log analysis

logpal.ai

3 points by itsderek23 3 years ago · 2 comments

Reader

doublesundae 3 years ago

Great work and thanks for sharing. Did you hit token limits? Are you storing message/ chat histories between sessions

  • itsderek23OP 3 years ago

    Thanks!

    > Did you hit token limits?

    While i used TikToken to limit the message history (and keep below the token limit), generally I found that I didn't get better completions by putting a lot of data into the context. Usually the completions got more confusing. I put a limited amount of info into the context and have generally stayed below the token limit.

    > Are you storing message/ chat histories between sessions

    Right now, yes. It's pretty important to store everything (each request / response) to debug issues with prompt, context, and the agent call loop.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection