How to get gemini response as json using python and google genai
Normally you can tune models to return json. But, fortunately, Gemini
First install the lib
pip install google-genai
Here is a snippet i used to receive JSON …
Abdur-Rahmaan Janhangeer
Chef
artificial intelligence
How to run Tencent's Hunyuan Video model using Python
Table of content
What is HunYuan Video model?
How does it differ from competitors?
Architectural novelties
How to install
How to run?
Doc…
Abdur-Rahmaan Janhangeer
Chef
artificial intelligence
Chat with your own data/text files using chatGPT and LangChain
There are many different approaches to chatting with your own data.
One way is to upload your PDF to the OpenAi chatGPT cloud.
This comes with several limitations such as data being deleted or um…
Abdur-Rahmaan Janhangeer
Chef
artificial intelligence
Understand langChain to Quickly Get Started with Production Codebases
LangChain is a superb library to productionize LLMs. It has few concepts which make it great.
If you want to quickly get started with LangChain as maybe like me you have production in front of you,…
Abdur-Rahmaan Janhangeer
Chef
artificial intelligence
Biosim4: Framework For Evolution With Neural Networks
Biosim4 is a project in which there’s a 2-dimensional world where creatures with neural brains live in it. They have genomes (complete genetic information) that they pass on from o…