Spaces:
Runtime error
Runtime error
Merge pull request #33 from barun-saha/visual
Browse filesFix #31: find & use similar icons when non-existing icon names are generated by the LLM
Files changed (41)
- app.py+6-7
- file_embeddings/embeddings.npyAdded+3
- file_embeddings/icons.npyAdded+3
- global_config.py+5-2
- helpers/icons_embeddings.pyAdded+124
- helpers/pptx_helper.py+27-34
- icons/png128/alien-head.pngAdded
- icons/png128/award-fill.pngDeleted
- icons/png128/brain.pngAdded
- icons/png128/cardiogram.pngAdded
- icons/png128/clusters.pngAdded
- icons/png128/computer-tv.pngAdded
- icons/png128/conversation.pngAdded
- icons/png128/dna.pngAdded
- icons/png128/doctor-patient.pngAdded
- icons/png128/ev-station-fill.pngDeleted
- icons/png128/eye.pngAdded
- icons/png128/farmer.pngAdded
- icons/png128/finance-strategy.pngAdded
- icons/png128/flask.pngAdded
- icons/png128/glasses.pngAdded
- icons/png128/globe2.png → icons/png128/globe.pngRenamed
- icons/png128/gloves.pngAdded
- icons/png128/industrial-robot.pngDeleted
- icons/png128/laptop.pngAdded
- icons/png128/megaphone-loudspeaker.pngAdded
- icons/png128/microphone.pngAdded
- icons/png128/microscope.pngAdded
- icons/png128/morse-code.pngAdded
- icons/png128/police.pngAdded
- icons/png128/prescription.pngAdded
- icons/png128/pulse.pngAdded
- icons/png128/robotics.pngAdded
- icons/png128/stethoscope.pngAdded
- icons/png128/strategy.pngAdded
- icons/png128/telemarketer-customer-service.pngAdded
- icons/png128/webcam-video-chat.pngAdded
- icons/svg_repo.txt+33
- langchain_templates/chat_prompts/initial_template_v4_two_cols_img.txt+11-15
- langchain_templates/chat_prompts/refinement_template_v4_two_cols_img.txt+12-16
- requirements.txt+4-2
2 unmodified lines345678910113 unmodified lines15161718192047 unmodified lines6869707172737475767778792 unmodified lines"""import datetimeimport loggingimport osimport pathlibimport randomimport tempfilefrom typing import List, Union3 unmodified linesfrom langchain_core.messages import HumanMessagefrom langchain_core.prompts import ChatPromptTemplatefrom global_config import GlobalConfigfrom helpers import llm_helper, pptx_helper, text_helper47 unmodified lines:return: A llist of the icons."""items = pathlib.Path(GlobalConfig.ICONS_DIR).glob('*.png')items = [os.path.basename(str(item)).removesuffix('.png') for item in items]return itemsAPP_TEXT = _load_strings()2 unmodified lines345678910113 unmodified lines1516171819202122232447 unmodified lines727374757677782 unmodified lines"""import datetimeimport loggingimport pathlibimport randomimport sysimport tempfilefrom typing import List, Union3 unmodified linesfrom langchain_core.messages import HumanMessagefrom langchain_core.prompts import ChatPromptTemplatesys.path.append('..')sys.path.append('../..')import helpers.icons_embeddings as icefrom global_config import GlobalConfigfrom helpers import llm_helper, pptx_helper, text_helper47 unmodified lines:return: A llist of the icons."""return ice.get_icons_list()APP_TEXT = _load_strings()
123version https://git-lfs.github.com/spec/v1oid sha256:46a3c1fa84abf394347acb10bf3bedca018f40a534b1496038a53f1ebe9b3117size 107648123version https://git-lfs.github.com/spec/v1oid sha256:1d74a08869d7798167f614f9027f727efd8e8e3d98aa1133a214c473bcd75353size 2448819 unmodified lines20212223242526278 unmodified lines36373839404119 unmodified linesHF_LLM_MODEL_NAME = 'mistralai/Mistral-Nemo-Instruct-2407'LLM_MODEL_TEMPERATURE = 0.2LLM_MODEL_MIN_OUTPUT_LENGTH = 100LLM_MODEL_MAX_OUTPUT_LENGTH = 4 * 4096LLM_MODEL_MAX_INPUT_LENGTH = 750HUGGINGFACEHUB_API_TOKEN = os.environ.get('HUGGINGFACEHUB_API_TOKEN', '')METAPHOR_API_KEY = os.environ.get('METAPHOR_API_KEY', '')8 unmodified linesLLM_PROGRESS_MAX = 90ICONS_DIR = 'icons/png128/'PPTX_TEMPLATE_FILES = {'Basic': {19 unmodified lines20212223242526278 unmodified lines36373839404142434419 unmodified linesHF_LLM_MODEL_NAME = 'mistralai/Mistral-Nemo-Instruct-2407'LLM_MODEL_TEMPERATURE = 0.2LLM_MODEL_MIN_OUTPUT_LENGTH = 100LLM_MODEL_MAX_OUTPUT_LENGTH = 4 * 4096 # tokensLLM_MODEL_MAX_INPUT_LENGTH = 750 # charactersHUGGINGFACEHUB_API_TOKEN = os.environ.get('HUGGINGFACEHUB_API_TOKEN', '')METAPHOR_API_KEY = os.environ.get('METAPHOR_API_KEY', '')8 unmodified linesLLM_PROGRESS_MAX = 90ICONS_DIR = 'icons/png128/'TINY_BERT_MODEL = 'gaunernst/bert-tiny-uncased'EMBEDDINGS_FILE_NAME = 'file_embeddings/embeddings.npy'ICONS_FILE_NAME = 'file_embeddings/icons.npy'PPTX_TEMPLATE_FILES = {'Basic': {
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124"""Generate and save the embeddings of a pre-defined list of icons.Compare them with keywords embeddings to find most relevant icons."""import osimport pathlibimport sysfrom typing import List, Tuple
import numpy as npfrom sklearn.metrics.pairwise import cosine_similarityfrom transformers import BertTokenizer, BertModel
sys.path.append('..')sys.path.append('../..')
from global_config import GlobalConfig
tokenizer = BertTokenizer.from_pretrained(GlobalConfig.TINY_BERT_MODEL)model = BertModel.from_pretrained(GlobalConfig.TINY_BERT_MODEL)
def get_icons_list() -> List[str]: """ Get a list of available icons.
:return: The icons file names. """
items = pathlib.Path('../' + GlobalConfig.ICONS_DIR).glob('*.png') items = [ os.path.basename(str(item)).removesuffix('.png') for item in items ]
return items
def get_embeddings(texts) -> np.ndarray: """ Generate embeddings for a list of texts using a pre-trained language model.
:param texts: A string or a list of strings to be converted into embeddings. :type texts: Union[str, List[str]] :return: A NumPy array containing the embeddings for the input texts. :rtype: numpy.ndarray
:raises ValueError: If the input is not a string or a list of strings, or if any element in the list is not a string.
Example usage: >>> keyword = 'neural network' >>> file_names = ['neural_network_icon.png', 'data_analysis_icon.png', 'machine_learning.png'] >>> keyword_embeddings = get_embeddings(keyword) >>> file_name_embeddings = get_embeddings(file_names) """
inputs = tokenizer(texts, return_tensors='pt', padding=True, max_length=128, truncation=True) outputs = model(**inputs)
return outputs.last_hidden_state.mean(dim=1).detach().numpy()
def save_icons_embeddings(): """ Generate and save the embeddings for the icon file names. """
file_names = get_icons_list() print(f'{len(file_names)} icon files available...') file_name_embeddings = get_embeddings(file_names) print(f'file_name_embeddings.shape: {file_name_embeddings.shape}')
# Save embeddings to a file np.save(GlobalConfig.EMBEDDINGS_FILE_NAME, file_name_embeddings) np.save(GlobalConfig.ICONS_FILE_NAME, file_names) # Save file names for reference
def load_saved_embeddings() -> Tuple[np.ndarray, np.ndarray]: """ Load precomputed embeddings and icons file names.
:return: The embeddings and the icon file names. """
file_name_embeddings = np.load(GlobalConfig.EMBEDDINGS_FILE_NAME) file_names = np.load(GlobalConfig.ICONS_FILE_NAME)
return file_name_embeddings, file_names
def find_icons(keywords: List[str]) -> List[str]: """ Find relevant icon file names for a list of keywords.
:param keywords: The list of one or more keywords. :return: A list of the file names relevant for each keyword. """
keyword_embeddings = get_embeddings(keywords) file_name_embeddings, file_names = load_saved_embeddings()
# Compute similarity similarities = cosine_similarity(keyword_embeddings, file_name_embeddings) icon_files = file_names[np.argmax(similarities, axis=-1)]
return icon_files
def main(): """ Example usage. """
# Run this again if icons are to be added/removed save_icons_embeddings()
keywords = ['deep learning', 'library', 'universe', 'brain', 'cybersecurity', 'gaming', ''] icon_files = find_icons(keywords) print(f'The relevant icon files are: {icon_files}')
if __name__ == '__main__': main()18 unmodified lines192021222324468 unmodified lines4934944954964974984995005015025035045055065075085095105115125135145155169 unmodified lines526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555399 unmodified lines95595695795895996096118 unmodified linessys.path.append('..')sys.path.append('../..')import helpers.image_search as imsfrom global_config import GlobalConfig468 unmodified lines# Calculate the total width of all pictures and the spacingtotal_width = n_items * ICON_SIZE# slide_width = presentation.slide_widthspacing = (pptx.util.Inches(slide_width_inch) - total_width) / (n_items + 1)for idx, item in enumerate(items):# Extract the icon name and textmatch = ICONS_REGEX.search(item)if not match:# print('No icon/text pattern match found...skipping to the next item')continueicon_name = match.group(1)accompanying_text = match.group(2)icon_path = f'{GlobalConfig.ICONS_DIR}/{icon_name}.png'left = spacing + idx * (ICON_SIZE + spacing)top = INCHES_3# Calculate the center position for alignmentcenter = left + ICON_SIZE / 29 unmodified linesshape.shadow.inherit = False# Set the icon's background shape colorcolor = random.choice(ICON_COLORS)shape.fill.fore_color.rgb = colorshape.line.color.rgb = color# Add the icon image on top of the colored shapetry:slide.shapes.add_picture(icon_path, left, top, height=ICON_SIZE)except FileNotFoundError:logger.error('Icon %s not found...using generic step number as icon...',icon_name)step_icon_path = f'{GlobalConfig.ICONS_DIR}/{idx + 1}-circle.png'if os.path.exists(step_icon_path):slide.shapes.add_picture(step_icon_path, left, top, height=ICON_SIZE)# Add a text box below the shapetext_top = top + ICON_SIZE + INCHES_0_2text_left = center - text_box_size / 2 # Center the text box horizontally# text_box = slide.shapes.add_textbox(text_left, text_top, text_box_size, text_box_size)text_box = slide.shapes.add_shape(MSO_AUTO_SHAPE_TYPE.ROUNDED_RECTANGLE,text_left, text_top,text_box_size, text_box_size)text_frame = text_box.text_frametext_frame.text = accompanying_text399 unmodified lines"bullet_points": ["[[brain]] Human-like intelligence and decision-making","[[robot]] Automation and physical tasks","[[cloud]] Data processing and cloud computing","[[lightbulb]] Insights and predictions","[[globe2]] Global connectivity and impact"],18 unmodified lines19202122232425468 unmodified lines4944954964974984995005015025035045055065075085095105115125135145155165175185195205219 unmodified lines531532533534535536537538539540541542543544545546547548399 unmodified lines94894995095195295395418 unmodified linessys.path.append('..')sys.path.append('../..')import helpers.icons_embeddings as iceimport helpers.image_search as imsfrom global_config import GlobalConfig468 unmodified lines# Calculate the total width of all pictures and the spacingtotal_width = n_items * ICON_SIZEspacing = (pptx.util.Inches(slide_width_inch) - total_width) / (n_items + 1)top = INCHES_3icons_texts = [(match.group(1), match.group(2)) for match in [ICONS_REGEX.search(item) for item in items]]fallback_icon_files = ice.find_icons([item[0] for item in icons_texts])for idx, item in enumerate(icons_texts):icon, accompanying_text = itemicon_path = f'{GlobalConfig.ICONS_DIR}/{icon}.png'if not os.path.exists(icon_path):logger.warning('Icon not found: %s...using fallback icon: %s',icon, fallback_icon_files[idx])icon_path = f'{GlobalConfig.ICONS_DIR}/{fallback_icon_files[idx]}.png'left = spacing + idx * (ICON_SIZE + spacing)# Calculate the center position for alignmentcenter = left + ICON_SIZE / 29 unmodified linesshape.shadow.inherit = False# Set the icon's background shape colorshape.fill.fore_color.rgb = shape.line.color.rgb = random.choice(ICON_COLORS)# Add the icon image on top of the colored shapeslide.shapes.add_picture(icon_path, left, top, height=ICON_SIZE)# Add a text box below the shapetext_box = slide.shapes.add_shape(MSO_AUTO_SHAPE_TYPE.ROUNDED_RECTANGLE,left=center - text_box_size / 2, # Center the text box horizontallytop=top + ICON_SIZE + INCHES_0_2,width=text_box_size,height=text_box_size)text_frame = text_box.text_frametext_frame.text = accompanying_text399 unmodified lines"bullet_points": ["[[brain]] Human-like intelligence and decision-making","[[robot]] Automation and physical tasks","[[]] Data processing and cloud computing","[[lightbulb]] Insights and predictions","[[globe2]] Global connectivity and impact"],
123456789101115 unmodified lines272829Icons collections used (and their licenses) from SVG Repo:- Big Data And Web Analytics (CC0 License): https://www.svgrepo.com/collection/big-data-and-web-analytics/- Calcite Sharp Line Icons Collection (MIT License): https://www.svgrepo.com/collection/calcite-sharp-line-icons/- Carbon Design Pictograms (Apache License): https://www.svgrepo.com/collection/carbon-design-pictograms/- Flexicon Sharp Interface Glyphs (MIT License): https://www.svgrepo.com/collection/flexicon-sharp-interface-glyphs/- Future Technology 2 (CC0 License): https://www.svgrepo.com/collection/future-technology-2/- Network 7 (CC0 License): https://www.svgrepo.com/collection/network-7/- Objects Infographic Icons (CC0 License): https://www.svgrepo.com/collection/objects-infographic-icons/The specific icons used are:15 unmodified lineshttps://www.svgrepo.com/download/450704/certificate.svghttps://www.svgrepo.com/download/451006/knowledge-graph.svghttps://www.svgrepo.com/download/451276/satellite-3.svg1234567891011121314151615 unmodified lines32333435363738394041424344454647484950515253545556575859606162Icons collections used (and their licenses) from SVG Repo:- Basicons Interface Line Icons Collection (MIT License): https://www.svgrepo.com/collection/basicons-interface-line-icons/- Big Data And Web Analytics (CC0 License): https://www.svgrepo.com/collection/big-data-and-web-analytics/- Calcite Sharp Line Icons Collection (MIT License): https://www.svgrepo.com/collection/calcite-sharp-line-icons/- Carbon Design Pictograms (Apache License): https://www.svgrepo.com/collection/carbon-design-pictograms/- Communication 71 Collection (CC0 License): https://www.svgrepo.com/collection/communication-71/- Denali Solid Interface Icons Collection (MIT License): https://www.svgrepo.com/collection/denali-solid-interface-icons/- Flexicon Sharp Interface Glyphs (MIT License): https://www.svgrepo.com/collection/flexicon-sharp-interface-glyphs/- Future Technology 2 (CC0 License): https://www.svgrepo.com/collection/future-technology-2/- Network 7 (CC0 License): https://www.svgrepo.com/collection/network-7/- Objects Infographic Icons (CC0 License): https://www.svgrepo.com/collection/objects-infographic-icons/- Scientifics Study Collection (CC0 License): https://www.svgrepo.com/collection/scientifics-study/- Vaadin Flat Vectors Collection (Apache License): https://www.svgrepo.com/collection/vaadin-flat-vectors/The specific icons used are:15 unmodified lineshttps://www.svgrepo.com/download/450704/certificate.svghttps://www.svgrepo.com/download/451006/knowledge-graph.svghttps://www.svgrepo.com/download/451276/satellite-3.svghttps://www.svgrepo.com/download/32364/glasses.svghttps://www.svgrepo.com/download/42246/gloves.svghttps://www.svgrepo.com/download/127799/alien-head.svghttps://www.svgrepo.com/download/128855/pulse.svghttps://www.svgrepo.com/download/156615/brain.svghttps://www.svgrepo.com/download/108458/cardiogram.svghttps://www.svgrepo.com/download/7010/microscope.svghttps://www.svgrepo.com/download/5170/flask.svghttps://www.svgrepo.com/download/445375/stethoscope-solid.svghttps://www.svgrepo.com/download/286233/laptop.svghttps://www.svgrepo.com/download/286239/computer-tv.svghttps://www.svgrepo.com/download/286242/conversation.svghttps://www.svgrepo.com/download/286250/megaphone-loudspeaker.svghttps://www.svgrepo.com/download/286262/webcam-video-chat.svghttps://www.svgrepo.com/download/286243/microphone.svghttps://www.svgrepo.com/download/286283/morse-code.svghttps://www.svgrepo.com/download/286275/telemarketer-customer-service.svghttps://www.svgrepo.com/download/339144/doctor-patient.svghttps://www.svgrepo.com/download/339182/eye.svghttps://www.svgrepo.com/download/339203/finance-strategy.svghttps://www.svgrepo.com/download/339434/police.svghttps://www.svgrepo.com/download/339442/prescription.svghttps://www.svgrepo.com/download/339484/robotics.svghttps://www.svgrepo.com/download/339552/strategy.svghttps://www.svgrepo.com/download/339032/chart-t-sne.svghttps://www.svgrepo.com/download/339141/dna.svghttps://www.svgrepo.com/download/339194/farmer-02.svghttps://www.svgrepo.com/download/371555/stethoscope.svg
12 unmodified lines1314151617181920212223242526272829303132333429 unmodified lines6465666768697071727312 unmodified linesThese keywords will be later used to search for images from the Web relevant to the slide content.In addition, create one slide containing 4 TO 6 icons (pictograms) illustrating some key ideas/aspects/concepts relevant to the topic.In this slide, each line of text will begin with the name of an icon enclosed between [[ and ]].The name of an icon MUST BE chosen exactly as it is from the <ICONS> section provided below and should be relevant to the aspects described.If you need an icon that is unavailable in the <ICONS> section, you may select a conceptually similar icon's name from <ICONS>.For example, if an icon for "neural network" is unavailable, you may choose the "deep-learning" icon from <ICONS>.However, you MUST NEVER generate any icon name not mentioned in the <ICONS> section.The content of each slide should be VERBOSE, DESCRIPTIVE, and very DETAILED.ALWAYS add a concluding slide at the end, containing a list of the key takeaways and an optional call-to-action if relevant to the context.Unless explicitly instructed, create 10 TO 12 SLIDES in total.<ICONS>{icons_list}</ICONS>### Topic:{question}29 unmodified lines{{"heading": "A slide illustrating key ideas/aspects/concepts (Hint: generate an appropriate heading)","bullet_points": ["[[icon_name]] Some text","[[another_icon_name]] Some words describing this aspect","[[icon_other_name]] Another aspect highlighted here","[[an_icon]] Another point here",],"key_message": "","img_keywords": ""12 unmodified lines13141516171819202122232425262728293029 unmodified lines6061626364656667686912 unmodified linesThese keywords will be later used to search for images from the Web relevant to the slide content.In addition, create one slide containing 4 TO 6 icons (pictograms) illustrating some key ideas/aspects/concepts relevant to the topic.In this slide, each line of text will begin with the name of a relevant icon enclosed between [[ and ]].Select appropriate and exact icon names from the <ICONS> section provided below.<ICONS>{icons_list}</ICONS>The content of each slide should be VERBOSE, DESCRIPTIVE, and very DETAILED. Each bullet point should be detailed and explanatory, not just short phrases.ALWAYS add a concluding slide at the end, containing a list of the key takeaways and an optional call-to-action if relevant to the context.Unless explicitly instructed with the topic, create 10 TO 12 SLIDES in total. You must never create more tha 15 slides.### Topic:{question}29 unmodified lines{{"heading": "A slide illustrating key ideas/aspects/concepts (Hint: generate an appropriate heading)","bullet_points": ["[[icon name]] Some text","[[another icon name]] Some words describing this aspect","[[icon]] Another aspect highlighted here","[[an icon]] Another point here",],"key_message": "","img_keywords": ""
13 unmodified lines14151617181920212223242526272829303132333434 unmodified lines6970717273747576777813 unmodified linesThese keywords will be later used to search for images from the Web relevant to the slide content.In addition, create one slide containing 4 TO 6 icons (pictograms) illustrating some key ideas/aspects/concepts relevant to the topic.In this slide, each line of text will begin with the name of an icon enclosed between [[ and ]].The name of an icon MUST BE chosen exactly as it is from the <ICONS> section provided below and should be relevant to the aspects described.If you need an icon that is unavailable in the <ICONS> section, you may select a conceptually similar icon's name from <ICONS>.For example, if an icon for "neural network" is unavailable, you may choose the "deep-learning" icon from <ICONS>.However, you MUST NEVER generate any icon name not mentioned in the <ICONS> section.The content of each slide should be VERBOSE, DESCRIPTIVE, and very DETAILED.ALWAYS add a concluding slide at the end, containing a list of the key takeaways and an optional call-to-action if relevant to the context.Unless explicitly instructed, create 10 TO 12 SLIDES in total.<Icons>{icons_list}</Icons>### List of instructions:34 unmodified lines{{"heading": "A slide illustrating key ideas/aspects/concepts (Hint: generate an appropriate heading)","bullet_points": ["[[icon_name]] Some text","[[another_icon_name]] Some words describing this aspect","[[icon_other_name]] Another aspect highlighted here","[[an_icon]] Another point here",],"key_message": "","img_keywords": ""13 unmodified lines141516171819202122232425262728293034 unmodified lines6566676869707172737413 unmodified linesThese keywords will be later used to search for images from the Web relevant to the slide content.In addition, create one slide containing 4 TO 6 icons (pictograms) illustrating some key ideas/aspects/concepts relevant to the topic.In this slide, each line of text will begin with the name of a relevant icon enclosed between [[ and ]].Select appropriate and exact icon names from the <ICONS> section provided below.<ICONS>{icons_list}</ICONS>The content of each slide should be VERBOSE, DESCRIPTIVE, and very DETAILED. Each bullet point should be detailed and explanatory, not just short phrases.ALWAYS add a concluding slide at the end, containing a list of the key takeaways and an optional call-to-action if relevant to the context.Unless explicitly specified in the instructions below, create 10 TO 12 SLIDES in total. You must never create more tha 15 slides.### List of instructions:34 unmodified lines{{"heading": "A slide illustrating key ideas/aspects/concepts (Hint: generate an appropriate heading)","bullet_points": ["[[icon name]] Some text","[[another icon name]] Some words describing this aspect","[[icon]] Another aspect highlighted here","[[an icon]] Another point here",],"key_message": "","img_keywords": ""
15 unmodified lines16171819202122232415 unmodified linesjson5~=0.9.14requests~=2.31.0transformers~=4.39.2langchain-communityurllib3~=2.2.1lxml~=4.9.3tqdm~=4.64.115 unmodified lines161718192021222324252615 unmodified linesjson5~=0.9.14requests~=2.31.0transformers~=4.44.0langchain-communityurllib3~=2.2.1lxml~=4.9.3tqdm~=4.64.1numpy~=1.25.2scikit-learn~=1.5.1
app.py+6-7
file_embeddings/embeddings.npyAdded+3
file_embeddings/icons.npyAdded+3
global_config.py+5-2
helpers/icons_embeddings.pyAdded+124
helpers/pptx_helper.py+27-34
icons/png128/alien-head.pngAdded
icons/png128/award-fill.pngDeleted
icons/png128/brain.pngAdded
icons/png128/cardiogram.pngAdded
icons/png128/clusters.pngAdded
icons/png128/computer-tv.pngAdded
icons/png128/conversation.pngAdded
icons/png128/dna.pngAdded
icons/png128/doctor-patient.pngAdded
icons/png128/ev-station-fill.pngDeleted
icons/png128/eye.pngAdded
icons/png128/farmer.pngAdded
icons/png128/finance-strategy.pngAdded
icons/png128/flask.pngAdded
icons/png128/glasses.pngAdded
icons/png128/globe2.png → icons/png128/globe.pngRenamed
icons/png128/gloves.pngAdded
icons/png128/industrial-robot.pngDeleted
icons/png128/laptop.pngAdded
icons/png128/megaphone-loudspeaker.pngAdded
icons/png128/microphone.pngAdded
icons/png128/microscope.pngAdded
icons/png128/morse-code.pngAdded
icons/png128/police.pngAdded
icons/png128/prescription.pngAdded
icons/png128/pulse.pngAdded
icons/png128/robotics.pngAdded
icons/png128/stethoscope.pngAdded
icons/png128/strategy.pngAdded
icons/png128/telemarketer-customer-service.pngAdded
icons/png128/webcam-video-chat.pngAdded
icons/svg_repo.txt+33
langchain_templates/chat_prompts/initial_template_v4_two_cols_img.txt+11-15
langchain_templates/chat_prompts/refinement_template_v4_two_cols_img.txt+12-16
requirements.txt+4-2