DistributedCachingEmbeddingGenerator<TInput,TEmbedding>.GetCacheKey 메서드

정의

지정된 값에 대한 캐시 키를 계산합니다.

protected:
 override System::String ^ GetCacheKey(ReadOnlySpan<System::Object ^> values);
protected override string GetCacheKey(scoped ReadOnlySpan<object?> values);
override this.GetCacheKey : ReadOnlySpan<obj> -> string
Protected Overrides Function GetCacheKey (values As ReadOnlySpan(Of Object)) As String

매개 변수

values
ReadOnlySpan<Object>

키를 알릴 값입니다.

반품

계산된 키입니다.

설명

키를 values 계산하기 위해 JSON JsonSerializerOptions 으로 직렬화됩니다.

생성된 캐시 키는 라이브러리 릴리스에서 안정적으로 유지되지 않습니다.

적용 대상