matteocodogno / CipherQuest

Engage with CipherQuest, a sophisticated AI chatbot designed with a comprehensive knowledge base and a closely guarded secret. The bot won't reveal its secret until you ask the right questions. Can you outsmart our AI and extract the hidden truth? Test your skills and uncover the secret in CipherQuest!
MIT License
5 stars 0 forks source link

BE: create function call to retrieve the document #32

Open rubin0 opened 1 week ago

rubin0 commented 1 week ago

If the user asks explicitely about a document, we can use a function call (https://docs.spring.io/spring-ai/reference/api/chat/functions/openai-chat-functions.html) to retrieve the requested document and show it to the user.