A web application wrapped around a light python script - takes in a user's question and returns an answer along with URL resources.
![Screen Shot 2024-01-27 at 11 10 25 PM](https://private-user-images.githubusercontent.com/80851741/300241026-6e48f71e-dcb2-414a-afec-a545a75eb592.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4MzE5NzIsIm5iZiI6MTcyMTgzMTY3MiwicGF0aCI6Ii84MDg1MTc0MS8zMDAyNDEwMjYtNmU0OGY3MWUtZGNiMi00MTRhLWFmZWMtYTU0NWE3NWViNTkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDE0MzQzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVkOGYxYWM0OWFlYjNlMjZhYjJiZTAyZGQ2YzQ3MDk4NmU1ZDE3YWM1YzE5ZGI4MzQ2NzhhOGUwYWQ0YzE4NjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JqlhAs2h5useMwx_tq30Fl57pHQ-baYdw8QiZNzFbUI)
demo.mp4
- The Large Language Model used is
command
which specializes in generating text. - The
chat
endpoint is used along withconnectors
. - Connectors enable connection to external data sources to find and provide the model with relevant info, so the model can utilize the info and generate a response with high degree of accurracy and facts; this is namely Retrieval Augmented Generation, "retrieving" relevant info and using that to "generate" a response.
- Cohere: https://docs.cohere.com/
- Gradio: https://www.gradio.app/
I learnt various AI concepts and Cohere specific things through Cohere Docs. I also completed the LLM University module in Cohere. This was my first detailed introduction to AI/ML and I truly enjoyed it, I am looking forward to learn more.