SwiftfuncTokenGenerationTokenGeneration.TokenGenerator
_overestimateTokenCountSync
TokenGeneration.TokenGenerator._overestimateTokenCountSync<A where A: PromptKit.GenerativeConfigurationProtocol, A.PromptType == PromptKit.ChatMessagesPrompt>(configuration: A) -> Int
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
req{}
- conformance:genericParameter
A - sameType==associatedType
PromptType- basegenericParameter
A
param{}
- 0configuration:genericParameter
A
result{}
structSwift.Int