Sample Functions
Here are 50 generated sample functions
ask(question: str) -> str: Asks ChatGPT a question and returns an answer as a string.
list(topic: str, count: int) -> List[str]: Generates a list of items related to a given topic, with the specified number of items.
summarize(text: str, length: int) -> str: Summarizes a given text to the specified length.
translate(text: str, target_language: str) -> str: Translates a given text into the specified target language.
recommend(type: str, genre: str, count: int) -> List[str]: Generates a list of recommendations based on the provided type (e.g., books, movies) and genre, with the specified number of items.
explain(concept: str) -> str: Provides an explanation of a given concept.
compare(item1: str, item2: str) -> str: Compares two items and highlights their similarities and differences.
evaluate(expression: str) -> str: Evaluates a given mathematical expression and returns the result.
generate_idea(prompt: str) -> str: Generates a creative idea based on the given prompt.
find_resource(topic: str, type: str) -> List[str]: Finds resources (e.g., books, articles, courses) related to a specific topic and of the specified type.
define(term: str) -> str: Provides a definition for a given term or word.
brainstorm(topic: str, count: int) -> List[str]: Generates a list of brainstorming ideas related to a given topic, with the specified number of ideas.
calculate(expression: str) -> str: Performs a calculation based on the given mathematical expression and returns the result.
suggest_improvement(text: str) -> str: Analyzes a given text and suggests improvements, such as grammar, style, or phrasing.
create_acronym(phrase: str) -> str: Creates an acronym based on the given phrase or words.
convert_units(value: float, unit_from: str, unit_to: str) -> str: Converts a value from one unit to another specified unit.
generate_sentence(prompt: str) -> str: Generates a complete sentence based on the given prompt or starting phrase.
analyze_sentiment(text: str) -> str: Analyzes the sentiment of a given text and returns a description (e.g., positive, negative, or neutral).
create_poem(theme: str, style: str) -> str: Generates a poem based on the given theme and style (e.g., haiku, sonnet, or free verse).
suggest_title(topic: str) -> str: Suggests a title or headline related to a specific topic.
calculate_dilution(stock_concentration: float, final_concentration: float, final_volume: float) -> str: Calculates the required volume of stock solution and diluent needed to achieve a desired concentration and final volume.
find_protocol(technique: str) -> List[str]: Searches for relevant lab protocols related to a specific technique (e.g., western blot, PCR, or cell culture).
primer_design(sequence: str, parameters: dict) -> List[str]: Designs appropriate forward and reverse primers for a given DNA sequence, taking into account specified parameters (e.g., melting temperature, GC content).
analyze_sequence(sequence: str) -> dict: Analyzes a given nucleotide or amino acid sequence and returns relevant information such as GC content, molecular weight, and potential protein domains.
molarity_conversion(amount: float, molecular_weight: float, volume: float) -> float: Converts the given mass, molecular weight, and volume of a solute into a molar concentration.
buffer_preparation(buffer_name: str, concentration: float, volume: float) -> str: Provides the recipe and steps for preparing a specific buffer at the desired concentration and volume.
centrifugation_settings(sample_type: str, goal: str) -> dict: Suggests appropriate centrifugation settings (e.g., speed, time, temperature) for a given sample type and experimental goal.
plasmid_map_analysis(plasmid: str) -> dict: Analyzes a given plasmid map and returns relevant information such as restriction sites, open reading frames, and promoter regions.
lab_tips(troubleshooting: str) -> List[str]: Provides a list of tips for troubleshooting common lab issues related to a specific technique or procedure.
calculate_growth_rate(data: dict) -> float: Calculates the growth rate of a cell culture based on provided experimental data (e.g., timepoints, cell counts).
media_preparation(media_type: str, volume: float) -> str: Provides the recipe and steps for preparing a specific cell culture media type at the desired volume.
subculture_guidelines(cell_line: str) -> str: Offers guidelines for subculturing a specific cell line, including splitting ratios and special considerations.
transfection_method(cell_type: str) -> str: Suggests an appropriate transfection method for a given cell type (e.g., electroporation, lipofection).
gRNA_design(target_gene: str, organism: str) -> List[str]: Designs gRNA sequences for CRISPR/Cas9 targeting of a specific gene in a given organism.
restriction_digest_planning(dna_sequence: str, desired_fragments: List[str]) -> str: Plans a restriction digest strategy for cloning by selecting appropriate enzymes and conditions to generate desired DNA fragments.
ligation_strategy(fragment1: str, fragment2: str) -> str: Suggests an appropriate ligation strategy for joining two DNA fragments, including compatible overhangs and enzyme choice.
calculate_transduction_efficiency(data: dict) -> float: Calculates the transduction efficiency of a viral vector based on provided experimental data.
microscopy_preparation(sample_type: str, staining_method: str) -> str: Provides guidelines for preparing and staining a sample for microscopy analysis, based on sample type and staining method.
image_analysis_technique(microscopy_type: str, goal: str) -> str: Recommends an appropriate image analysis technique for a specific microscopy type and experimental goal.
colony_counting_method(cell_type: str) -> str: Suggests a suitable method for counting colonies in a cell culture experiment, depending on the cell type.
grant_proposal_structure(funding_agency: str) -> List[str]: Provides an outline for structuring a grant proposal based on the requirements of a specific funding agency.
grant_writing_tips(topic: str) -> List[str]: Offers a list of tips for writing a successful grant proposal, focusing on a specific topic (e.g., hypothesis development, budget justification).
literature_search_strategy(topic: str) -> List[str]: Suggests a strategy for conducting a comprehensive literature search on a specific topic.
budget_planning(project_scope: str) -> str: Assists in planning the budget for a research project based on its scope and requirements.
research_collaboration_suggestions(institution: str, field: str) -> List[str]: Recommends potential research collaborations based on a specific institution and field of study.
protocol_template(technique: str) -> str: Provides a template for writing a clear and comprehensive protocol for a specific laboratory technique.
protocol_optimization_tips(technique: str) -> List[str]: Offers a list of tips for optimizing a specific laboratory technique or protocol.
experiment_timeline_planning(experiment_type: str) -> str: Suggests a timeline for planning and executing a specific type of experiment.
safety_guidelines(chemical: str) -> str: Provides safety guidelines and precautions for handling a specific chemical in the laboratory.
lab_equipment_maintenance(tips: str) -> List[str]: Offers a list of tips for maintaining and troubleshooting common laboratory equipment.
Last updated