angular2guy / aidocumentlibrarychat Goto Github PK
View Code? Open in Web Editor NEWA project to show howto use SpringAI with OpenAI to chat with the documents in a library. Documents are stored in a normal/vector database. The AI is used to create embeddings from documents that are stored in the vector database. The vector database is used to query for the nearest document. That document is used by the AI to generate the answer.
License: Apache License 2.0