Sample Functions

Here are 50 generated sample functions

  1. ask(question: str) -> str: Asks ChatGPT a question and returns an answer as a string.

  2. list(topic: str, count: int) -> List[str]: Generates a list of items related to a given topic, with the specified number of items.

  3. summarize(text: str, length: int) -> str: Summarizes a given text to the specified length.

  4. translate(text: str, target_language: str) -> str: Translates a given text into the specified target language.

  5. 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.

  6. explain(concept: str) -> str: Provides an explanation of a given concept.

  7. compare(item1: str, item2: str) -> str: Compares two items and highlights their similarities and differences.

  8. evaluate(expression: str) -> str: Evaluates a given mathematical expression and returns the result.

  9. generate_idea(prompt: str) -> str: Generates a creative idea based on the given prompt.

  10. 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.

  11. define(term: str) -> str: Provides a definition for a given term or word.

  12. brainstorm(topic: str, count: int) -> List[str]: Generates a list of brainstorming ideas related to a given topic, with the specified number of ideas.

  13. calculate(expression: str) -> str: Performs a calculation based on the given mathematical expression and returns the result.

  14. suggest_improvement(text: str) -> str: Analyzes a given text and suggests improvements, such as grammar, style, or phrasing.

  15. create_acronym(phrase: str) -> str: Creates an acronym based on the given phrase or words.

  16. convert_units(value: float, unit_from: str, unit_to: str) -> str: Converts a value from one unit to another specified unit.

  17. generate_sentence(prompt: str) -> str: Generates a complete sentence based on the given prompt or starting phrase.

  18. analyze_sentiment(text: str) -> str: Analyzes the sentiment of a given text and returns a description (e.g., positive, negative, or neutral).

  19. create_poem(theme: str, style: str) -> str: Generates a poem based on the given theme and style (e.g., haiku, sonnet, or free verse).

  20. suggest_title(topic: str) -> str: Suggests a title or headline related to a specific topic.

  21. 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.

  22. find_protocol(technique: str) -> List[str]: Searches for relevant lab protocols related to a specific technique (e.g., western blot, PCR, or cell culture).

  23. 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).

  24. 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.

  25. 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.

  26. 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.

  27. 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.

  28. 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.

  29. lab_tips(troubleshooting: str) -> List[str]: Provides a list of tips for troubleshooting common lab issues related to a specific technique or procedure.

  30. calculate_growth_rate(data: dict) -> float: Calculates the growth rate of a cell culture based on provided experimental data (e.g., timepoints, cell counts).

  31. 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.

  32. subculture_guidelines(cell_line: str) -> str: Offers guidelines for subculturing a specific cell line, including splitting ratios and special considerations.

  33. transfection_method(cell_type: str) -> str: Suggests an appropriate transfection method for a given cell type (e.g., electroporation, lipofection).

  34. gRNA_design(target_gene: str, organism: str) -> List[str]: Designs gRNA sequences for CRISPR/Cas9 targeting of a specific gene in a given organism.

  35. 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.

  36. ligation_strategy(fragment1: str, fragment2: str) -> str: Suggests an appropriate ligation strategy for joining two DNA fragments, including compatible overhangs and enzyme choice.

  37. calculate_transduction_efficiency(data: dict) -> float: Calculates the transduction efficiency of a viral vector based on provided experimental data.

  38. 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.

  39. image_analysis_technique(microscopy_type: str, goal: str) -> str: Recommends an appropriate image analysis technique for a specific microscopy type and experimental goal.

  40. colony_counting_method(cell_type: str) -> str: Suggests a suitable method for counting colonies in a cell culture experiment, depending on the cell type.

  41. 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.

  42. 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).

  43. literature_search_strategy(topic: str) -> List[str]: Suggests a strategy for conducting a comprehensive literature search on a specific topic.

  44. budget_planning(project_scope: str) -> str: Assists in planning the budget for a research project based on its scope and requirements.

  45. research_collaboration_suggestions(institution: str, field: str) -> List[str]: Recommends potential research collaborations based on a specific institution and field of study.

  46. protocol_template(technique: str) -> str: Provides a template for writing a clear and comprehensive protocol for a specific laboratory technique.

  47. protocol_optimization_tips(technique: str) -> List[str]: Offers a list of tips for optimizing a specific laboratory technique or protocol.

  48. experiment_timeline_planning(experiment_type: str) -> str: Suggests a timeline for planning and executing a specific type of experiment.

  49. safety_guidelines(chemical: str) -> str: Provides safety guidelines and precautions for handling a specific chemical in the laboratory.

  50. lab_equipment_maintenance(tips: str) -> List[str]: Offers a list of tips for maintaining and troubleshooting common laboratory equipment.

Last updated