This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Jishnu Rajendran", | |
"label": "Quantum Physicist", | |
"picture": "https://avatars.githubusercontent.com/u/10544069?v=4", | |
"email": "[email protected]", | |
"phone": "918281245010", | |
"website": "https://jishnurajendran.github.io/", | |
"summary": " ", | |
"location": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import subprocess | |
import json | |
def get_current_clock(): | |
try: | |
# Elisp to get current clock info with elapsed time | |
elisp_command = ''' | |
(if (org-clock-is-active) | |
(format "%s [%s]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from langchain_community.llms import Ollama | |
import requests | |
from langchain_core.tools import tool | |
from langchain_openai import ChatOpenAI | |
from langchain_core.output_parsers import JsonOutputParser | |
from langchain_core.prompts import ChatPromptTemplate | |
from langchain_core.tools import render_text_description | |
from langchain_core.runnables import RunnablePassthrough | |
from typing import Any, Dict, Optional, TypedDict |