Skip to content

Commit

Permalink
Spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Unobtainiumrock committed Feb 11, 2025
1 parent 15520f6 commit 13392f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adalflow/adalflow/core/base_data_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ class DataClass:
`Signature` is more token effcient than schema, and schema as it is always a json string, when you want LLMs to output yaml, it can be misleading if you describe the data structure in json.
- DataClassFormatType.SCHEMA: a more standard way to describe the data structure in Json string, :meth:`to_schema` as string and :meth:`to_schema` as dict.
- DataClassFormatType.SIGNATURE_JSON: emitating a json object with field name as key and description as value, :meth:`to_json_signature` as string.
- DataClassFormatType.SIGNATURE_YAML: emitating a yaml object with field name as key and description as value, :meth:`to_yaml_signature` as string.
- DataClassFormatType.SIGNATURE_JSON: imitating a json object with field name as key and description as value, :meth:`to_json_signature` as string.
- DataClassFormatType.SIGNATURE_YAML: imitating a yaml object with field name as key and description as value, :meth:`to_yaml_signature` as string.
(2) For describing the class instance: this is helpful to do few-shot examples in LLM prompt.
- DataClassFormatType.EXAMPLE_JSON: the json representation of the instance, :meth:`to_json` as string.
Expand Down

0 comments on commit 13392f8

Please sign in to comment.