Skip to content

Passing chat history to LLM #7456

Closed Answered by sophialagerkranspandey
pshekhar-esri asked this question in Q&A
Discussion options

You must be logged in to vote

Everything you send in the request contributes to your token usage. We'd recommend a strategy, such as using the most recent message to help keep your token usage low as opposed to sending the entire chat history.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@pshekhar-esri
Comment options

Comment options

You must be logged in to vote
1 reply
@pshekhar-esri
Comment options

Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants