Rami Krispin’s Data Science Channel
                                
                            
                            
                    
                                
                                
                                May 16, 2025 at 01:24 AM
                               
                            
                        
                            I had the pleasure of presenting today at the ODSC East 2025 conference about querying data with LLMs.
Creating an AI agent (which is a fancy name for three Python functions) is easier than it sounds. At its core, all you need:
➡️ A function that creates a prompt based on a user input
➡️ A function that sends the prompt to an LLM and parses the answer into SQL code, and
➡️ A function that picks up the query and sends it to a database to get the data
All the workshop materials are available in the following repo:
https://github.com/RamiKrispin/osdc-2025-llm-workshop
                        
                    
                    
                    
                    
                    
                                    
                                        
                                            👍
                                        
                                    
                                        
                                            ❤️
                                        
                                    
                                        
                                            🙏
                                        
                                    
                                    
                                        8