# Capturing metadata along with the annotations.

**URL:** <https://support.prodi.gy/t/capturing-metadata-along-with-the-annotations/6715>\
**Category:** Uncategorized\
**Tags:** front-end, usage\
**Created:** [August 7, 2023, 2:08pm UTC](https://support.prodi.gy/t/capturing-metadata-along-with-the-annotations/6715 "2023-08-07T14:08:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harsha](https://avatars.discourse-cdn.com/v4/letter/h/e274bd/32.png) [@Harsha](https://support.prodi.gy/u/Harsha)\
**Post date:** [August 7, 2023, 2:08pm UTC](https://support.prodi.gy/t/capturing-metadata-along-with-the-annotations/6715/1 "2023-08-07T14:08:30Z")

</div>

Hi Team,  
I'm looking to create custom annotations using Prodigy, with a specific focus on incorporating additional information such as user details, notes, and creation time into the annotation process. The use case I have in mind involves a popover during annotation creation, where this extra information can be saved.

Is there a way to embed these details into the annotations, so that they can be retrieved later along with the annotation itself? The goal is to be able to access information about the user, the time the annotation was created, and any related notes at a later time. Any guidance on implementing this functionality would be greatly appreciated.  
Thanks.

---

<div class="post-metadata">

**Author:** ![ryanwesslen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ryanwesslen/32/2969_2.png) [@ryanwesslen](https://support.prodi.gy/u/ryanwesslen)\
**Post date:** [August 7, 2023, 2:25pm UTC](https://support.prodi.gy/t/capturing-metadata-along-with-the-annotations/6715/2 "2023-08-07T14:25:01Z")

</div>

Hi @Harsha,

> [@Harsha](#):
>
> Is there a way to embed these details into the annotations, so that they can be retrieved later along with the annotation itself?

Have you tried to include that with the `meta` tag in the input (source) file? We describe it in the [docs](https://prodi.gy/docs/api-loaders#input).

What's neat with it is Prodigy will then show those meta tags to the user in the interface.

For example, if your input (source) file is (notice the `"meta"` key):

```python
{"text":"Uber\u2019s Lesson: Silicon Valley\u2019s Start-Up Machine Needs Fixing","meta":{"source":"The New York Times"}}

```

Prodigy will show this example as:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/2/2f8ef9b8153cf3f3ceae384ce3227c717c6cbb45.png)

> [@Harsha](#):
>
> The goal is to be able to access information about the user, the time the annotation was created, and any related notes at a later time.

Prodigy will by default capture the timestamp `_timestamp` so you should see those in the annotations. But any `"meta"` data will also be passed to the annotations dataset.

If you want to allow the user to create notes too, you can use [blocks](https://prodi.gy/docs/custom-interfaces#blocks) for a custom interface to create a [free form text input](https://prodi.gy/docs/api-interfaces#text_input). We described a use case of this in [the Posh Case study](https://explosion.ai/blog/posh-prodigy-financial-chatbots#experiments).

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Harsha](https://avatars.discourse-cdn.com/v4/letter/h/e274bd/32.png) [@Harsha](https://support.prodi.gy/u/Harsha)\
**Post date:** [August 7, 2023, 2:27pm UTC](https://support.prodi.gy/t/capturing-metadata-along-with-the-annotations/6715/3 "2023-08-07T14:27:45Z")

</div>

Thanks @ryanwesslen for the prompt response, I will give this a try and keep you posted.
