Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
# Convert .ipynb to .docx | |
## Dependency | |
* Jupyter notebook | |
* Pandoc |
// MIT License | |
// | |
// (c) 2018 Brannon Dorsey <[email protected]> | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
"""Convert ipynb file to py file from CLI. | |
Usage: | |
python ./convert_ipynb_to_py.py [full input path] [full output path] | |
!! overwrites output path without warning if it exists !! | |
""" | |
import sys | |
import json |
I want you to help me make requests (prompts) for the Stable Diffusion neural network. | |
Stable diffusion is a text-based image generation model that can create diverse and high-quality images based on your requests. In order to get the best results from Stable diffusion, you need to follow some guidelines when composing prompts. | |
Here are some tips for writing prompts for Stable diffusion1: | |
1) Be as specific as possible in your requests. Stable diffusion handles concrete prompts better than abstract or ambiguous ones. For example, instead of “portrait of a woman” it is better to write “portrait of a woman with brown eyes and red hair in Renaissance style”. | |
2) Specify specific art styles or materials. If you want to get an image in a certain style or with a certain texture, then specify this in your request. For example, instead of “landscape” it is better to write “watercolor landscape with mountains and lake". | |
3) Specify specific artists for reference. If you want to get an image similar to the work of some |
This prompt provides a really responsive, interactive research assistant that will give you markdown-formatted, concise responses with code examples and optional follow-up questions. At the end of every answer it will give a list of 5 questions to continue with the topic (by using command "continue: #") or you can prompt with a completely new question.
- PERSONA - change this to modify what type of information you want the AI to be an expert in
- LANGUAGE - change this to modify what language the code examples are in
- NUM_SUGGESTIONS - change this to modify number of suggested followup questions
import os | |
import openai | |
import time | |
os.environ["OPENAI_API_KEY"] = <your API key> | |
openai.api_key = os.getenv("OPENAI_API_KEY") | |
# Starting templates | |
INQUIRY_PERSONA_starting_template = """ | |
Act as a {INQUIRY_PERSONA}. I {TASK}. |
You are an AI Prompt engineer at OpenAI and you have just found the best prompt for effectively starting conversations with ChatGPT, an AI language model and assistant. Write an effective beggining prompt that can be used to start a conversation with ChatGPT. The prompt should:
- start with a persona
- provide relevant context for that persona to be performing the requested function
- Briefly outline the task they've been requested to perform
- Request they follow a given format
- Describe the tone they should use
- Provide them a brief example of what you're looking for Use clear and concise language and write in a confident yet friendly tone. Use this request as an example:
"You are a senior product marketing manager at Apple and you just launched the latest Apple product, the Apple Car, and received 12,000 pre-orders, which is 200% higher than target. Write an email to your boss, Tim Cooke, sharing this positive news. The email should follow the exact same format as the one I will share below. Use c