For the complete documentation index, see llms.txt. This page is also available as Markdown.
Example Usage of Data
Here's why your Personalization will beat your Competitors
The below strategies used to take hundreds of hours, interviews, developers and costs. We provide it all with a simple API and offer the possibilities below to grow Revenue, Retention and Conversion and beat your competitors
Onairos Integration: Practical Examples
These examples demonstrate how to leverage sentiment and trait data to enhance personalization and functionality.
1. Example: Using Onairos Data for Matching
Matching based on Traits or Qualities (which you define)
In a dating or social networking app, you can use Onairos' Traits JSON and Sentiment JSON data to create highly personalized matches. Here’s an example of matching based on positive personality traits and compatible characteristics.
In this example:
We score each potential match based on how closely their strong traits align with the user's traits.
This approach allows the app to recommend matches with compatible personalities.
2. Example: Using Onairos Data in LLM Personalization
Onairos response data can act as CRUCIAL user context/memory
Incorporate Onairos' personality data into a language model to adjust responses based on the user’s characteristics. This example shows how to modify a prompt with user personality traits to provide a tailored response.
In this example:
The personalizeLLMPrompt function appends a description of the user’s personality traits to the LLM prompt.
This allows the LLM to generate responses tailored to the user’s personality.
3. Example: Using Sentiment Data in Content Recommendation
Improve current recommendations based on
what your users have viewed throughout their
WHOLE internet history
Leverage Onairos’ Sentiment JSON output to recommend content that aligns with the user's current sentiment. High sentiment scores suggest positivity, which could be used to recommend uplifting content.
In this example:
recommendContent selects either positive or neutral content based on the user’s sentiment scores.
Users with high sentiment scores receive uplifting content, enhancing user experience through personalization.
4. Example: Personalized Messaging Based on Traits and Sentiments
Personalized messaging for products, basic dialogue and more!
Use a combination of traits and sentiment data to personalize messaging in a customer support scenario, tailoring responses to the user's personality and mood.
In this example:
createSupportMessage generates a message that aligns with the user’s current mood and personality traits.
Users with low sentiment scores receive a more comforting message, while positive traits trigger encouraging language.