cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

How do i find total number of input tokens to genie ?

prabbalagilead
New Contributor II

I am calculating usage analytics for my work, where they use genie.

I have given the following for my genie as definition:

(1) instructions (2) example SQL queries (3) Within catalog, i went to those relevant table schema and added comments, descriptions, and any other like "About this table" information.

How do i find total number of input tokens = all LLM required tokens + summarized SQL tokens and any other details  and total number of output tokens for "calculating usage analytics/ cost analysis" etc.

 

1 REPLY 1

prabbalagilead
New Contributor II

Or is there any set of tables and functions to determine the number of input and output tokens per query?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group