This file contains 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
{ | |
"name of scheme": "Indira Gandhi National Old Age Pension Scheme", | |
"criteria_details": [ | |
"citizen of India", | |
"living Below Poverty Line", | |
"at least 60 years of age" | |
], | |
"probability": [ | |
1, | |
0.8, |
This file contains 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
import json | |
from typing import List, Optional | |
from dotenv import load_dotenv | |
from langchain.utils.openai_functions import convert_pydantic_to_openai_function | |
from langchain_community.chat_models import ChatOpenAI | |
from langchain_core.prompts import ChatPromptTemplate | |
from langchain_core.pydantic_v1 import BaseModel | |
from deepgram import DeepgramClient, DeepgramClientOptions, PrerecordedOptions |
This file contains 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
import bpy | |
scene = bpy.context.scene | |
i = 0 | |
def returnIfObject(passedName=""): | |
try: | |
result = bpy.data.objects[passedName] | |
except: |
This file contains 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
echo "backend: Agg" > ~/.config/matplotlib/matplotlibrc | |
#To switch off display on remote server for matplotlib | |
python -m demo --img_path ./input_images/000001.jpg --out_folder ./RingNet_output --save_obj_file=True | |