Ai assistant is a Java-based project that leverages the power of AI for regulatory purposes. It uses the OpenAI API to interact with the GPT-4 model and provides an interactive shell for user input.
The project is built with Gradle and Spring Boot, and it uses a PostgreSQL database for storing data. It also uses the PGVector library for vector storage, which is configured with HNSW index type and cosine distance.
- OpenAI Integration: The project uses the OpenAI API to interact with the GPT-4 model, providing powerful AI capabilities.
- Interactive Shell: The application provides an interactive shell for user input, making it easy to interact with the AI model.
- PostgreSQL Database: The application uses a PostgreSQL database for storing data, providing robust and reliable data storage capabilities.
- Vector Storage: The application uses the PGVector library for vector storage, configured with HNSW index type and cosine distance.
- RAG (Retrieval-Augmented Generation): The application uses the RAG model for combining the benefits of retrieval-based and generative pre-training for natural language understanding and generation.
- Weather API Function Call: The application has a feature to fetch and display weather information by making API calls to a Weather service.