Skip to content

Commit

Permalink
Update more links
Browse files Browse the repository at this point in the history
  • Loading branch information
vilkinsons authored Mar 12, 2024
1 parent 49745b1 commit f52005c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/hashdotai/glossary/actor-model.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ In the actor model, agents consist of **state**, have **behaviors**, and communi

## Actor-based implementation

The same simulation shown in object-oriented form can easily be implemented using the actor-based framework in HASH. This simulation is available to view and run on [hIndex](https://hash.ai/@hash/random-coins). We start by initializing the simulation — specifying which agents should be created and setting their initial state. This may be performed declaratively as shown in `init.json` below.
The same simulation shown in object-oriented form can easily be implemented using the actor-based framework in HASH. This simulation is available to view and run on [hIndex](https://simulation.hash.ai/@hash/random-coins). We start by initializing the simulation — specifying which agents should be created and setting their initial state. This may be performed declaratively as shown in `init.json` below.

```json
[
Expand Down
10 changes: 5 additions & 5 deletions apps/hashdotai/glossary/schemas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ Schemas consist of two things:

A property is an attribute, characteristic, or other value that may be ascribed to a _thing_.

For example, the [person](https://hash.ai/@schema/schemas/Person) schema contains:
For example, the [person](https://simulation.hash.ai/@schema/schemas/Person) schema contains:

- the [`birthDate`](https://hash.ai/@schema/schemas/birthDate) property expressed as a [date](https://hash.ai/@schema/schemas/Date);
- the [`height`](https://hash.ai/@schema/schemas/height) property given as a [quantitative value](https://hash.ai/@schema/schemas/QuantitativeValue); and
- the [`worksFor`](https://hash.ai/@schema/schemas/worksFor) property which expects an [organization](https://hash.ai/@schema/schemas/Organization) (or to be blank).
- the [`birthDate`](https://simulation.hash.ai/@schema/schemas/birthDate) property expressed as a [date](https://simulation.hash.ai/@schema/schemas/Date);
- the [`height`](https://simulation.hash.ai/@schema/schemas/height) property given as a [quantitative value](https://simulation.hash.ai/@schema/schemas/QuantitativeValue); and
- the [`worksFor`](https://simulation.hash.ai/@schema/schemas/worksFor) property which expects an [organization](https://simulation.hash.ai/@schema/schemas/Organization) (or to be blank).

The _person_ schema also has dozens of other properties.

Expand All @@ -33,7 +33,7 @@ Entities described by schemas may have their relationships captured as propertie

But schemas themselves may also have relationships, which describe how they relate to other schemas.

For example, [MedicalOrganization](https://hash.ai/@schema/schemas/MedicalOrganization) is a child (sub-type) of [Organization](https://hash.ai/@schema/schemas/Organization). It has various sub-types of its own, including [Dentist](https://hash.ai/@schema/schemas/Dentist), [Ho](https://hash.ai/@schema/schemas/Hospital)[s](https://hash.ai/@schema/schemas/Hospital)[pital](https://hash.ai/@schema/schemas/Hospital), and [Pharmacy](https://hash.ai/@schema/schemas/Pharmacy).
For example, [MedicalOrganization](https://simulation.hash.ai/@schema/schemas/MedicalOrganization) is a child (sub-type) of [Organization](https://simulation.hash.ai/@schema/schemas/Organization). It has various sub-types of its own, including [Dentist](https://simulation.hash.ai/@schema/schemas/Dentist), [Ho](https://simulation.hash.ai/@schema/schemas/Hospital)[s](https://simulation.hash.ai/@schema/schemas/Hospital)[pital](https://simulation.hash.ai/@schema/schemas/Hospital), and [Pharmacy](https://simulation.hash.ai/@schema/schemas/Pharmacy).

If a sub-type or top-level schema you require doesn’t exist, you can create one with HASH from scratch, or by [forking](https://hash.ai/glossary/fork) an existing one.

Expand Down

0 comments on commit f52005c

Please sign in to comment.