Use this file to discover all available pages before exploring further.
Tags allow you to label queries and completions.This is useful to further segment your data. For example, you can label all the queries that are related to a specific feature or a specific company.Later on, this can also be useful for creating fine-tune datasets.
1
Setup the SDK
Python
Learn how to install the Python SDK.
JavaScript
Learn how to install the JS SDK.
2
Simplest: Identify OpenAI calls
The easiest way to get started adding tags is to send them when doing your OpenAI API calls.
You can also inject tags into the context of your code. This is useful if you want to tag all the queries that are related to a specific feature or a specific company.
Javascript
Python
Coming soon
import lunary# Method 2: everything inside the with statement will have tags2 and tags3with lunary.tags(["tag2", "tag3"]): my_agent()