Skip to content

Latest commit

 

History

History

typechat.examplesLib

Microsoft.TypeChat.ExamplesLib

TypeChat.ExamplesLib provides:

  • Example classes that show how to use TypeChat for several use cases
  • Extension methods and utilities used by TypeChat examples.

Example classes include:

  • Text Classification: Classification demonstrate how to semantically classify - label input with one of a given set of labels - using a Json translators. These classes are used by the MultiSchema examples.

  • HierarchicalJsonTranslator: demonstrates how a translator can use an in-memory vector index to semantically route request to child translators

  • VectorizedTextIndex: Demonstrates how to use an in-memory vectorized text index to route text requests. This class is used by the SchemaHierarchy example.

  • PluginProgramTranslator: Program translator that translates user requests into programs that call APIs defined by Microsoft Semantic Kernel Plugins

  • PluginProgramValidator: Validates programs produced by PluginProgramTranslator

  • VectorizedMessageList: Demonstrates how to use embeddings to select semantically relevant messages as context in Agent interactions

  • Config: Simplifies loading configuration for examples from settings files.