Skip to content

Conversation

@slaveeks
Copy link
Member

@slaveeks slaveeks commented Nov 8, 2025

  1. added vercel ai integration
  2. added aiSuggestion to event resolver
  3. added base prompt for event suggesting
  4. added base role for prompt

@slaveeks slaveeks changed the base branch from master to feat/openai November 8, 2025 23:39
@slaveeks slaveeks changed the title Feat/OpenAI base feat(ai): added base for ai integration Nov 8, 2025
const Event = require('../models/event');
const { ObjectID } = require('mongodb');
const { composeEventPayloadByRepetition } = require('../utils/merge');
const { vercelAIApi } = require('../resolvers/vercel-ai');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

model should not depend on resolver

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"solution": "...",
"explanation": "..."
}
`; No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no newline at the end of the file

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"""
AI suggestion for the event
"""
aiSuggestion: String!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems goofy

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@slaveeks slaveeks requested review from e11sy and neSpecc November 9, 2025 00:30
@slaveeks slaveeks requested a review from neSpecc November 9, 2025 01:22
@slaveeks slaveeks merged commit 58a335e into feat/openai Nov 9, 2025
6 checks passed
@slaveeks slaveeks deleted the feat/openai-base branch November 9, 2025 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants