Showing posts with label ollama. Show all posts
Showing posts with label ollama. Show all posts

Create LLM Chatbot using Gradio, response in same screen from multiple models

Python code , that takes the input from user and from backend it connects with OPENAI_ChatGPT and Google Gemini Modes. 

As a response it prints the outcome on same screen. 


files:
.env

Content of .env file:

OPEN_API_KEY="<Add your Key Here"
GOOGLE_API_KEY="Add your Key Here"

Content of AImalio.ipynb

Refer the code here...

Default location for Ollama models in Mac

Question: Where is GenAI ollama models are stored in Mac OS when we run ollama run model name

Answer: Default Locations: on macOS: ~/.ollama/models/blobs , 

here ~ defines the default home of the user is logged in to the system as.

Example:

bash-3.2$ cd /Users/neerajsingh/.ollama/models/blobs


Search