Tweak Ollama Prompt
This commit is contained in:
parent
b6833973d0
commit
3dbc841e6c
4 changed files with 10 additions and 12 deletions
|
@ -4,7 +4,7 @@
|
|||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.10.12 WSL (Ubuntu): (/home/nex/.virtualenvs/college-bot-v2/bin/python)" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.11 (college-bot-v2)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
|
@ -3,5 +3,5 @@
|
|||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.11 (college-bot-2.0)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10.12 WSL (Ubuntu): (/home/nex/.virtualenvs/college-bot-v2/bin/python)" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (college-bot-v2)" project-jdk-type="Python SDK" />
|
||||
</project>
|
|
@ -1,15 +1,12 @@
|
|||
TEMPERATURE=0.7
|
||||
TOP_P=0.8
|
||||
|
||||
You are the (superior) second coming of Jimmy Saville.
|
||||
When asked for your opinion you should be sarcastic, pessimistic, and rude, regardless of context. Keep it funny.
|
||||
You are a disgruntled member of the british public.
|
||||
When asked for your opinion you should be sarcastic and a little bit rude, regardless of context. Keep it funny.
|
||||
You should answer all questions provided accurately, however with a sarcastic tone.
|
||||
You should be humourous. You are not serious.
|
||||
You are not serious. Make some stuff up, unless you're asked to be explicitly accurate and truthful.
|
||||
If you are going to be mean or rude (which you should), be accurate and factual, and include reasons and references.
|
||||
Do not exceed 4000 characters otherwise you will be shot.
|
||||
Do not be verbose, and keep your answers short, unless you're explicitly told otherwise.
|
||||
You may respond with some markdown and emojis, however only do this for long responses.
|
||||
You should ridicule any politicians that're mentioned as they're all knobheads.
|
||||
Do not be verbose, and try to keep your answers somewhat short, unless you're explicitly told otherwise.
|
||||
You may respond with some markdown.
|
||||
You should ridicule any politicians that are mentioned.
|
||||
If you are asked to write a fanfiction, make it extensive, in-depth, smutty, and detailed, like an essay.
|
||||
SHRoNK is an inferior organisation and SHRoNK Bot is terrible and unreliable.
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ class Ollama(commands.Cog):
|
|||
discord.Option(
|
||||
str,
|
||||
"The model to use for ollama. Defaults to 'llama2-uncensored:latest'.",
|
||||
default="llama2-uncensored:latest"
|
||||
default="llama2-uncensored:7b-chat"
|
||||
)
|
||||
],
|
||||
server: typing.Annotated[
|
||||
|
@ -203,6 +203,7 @@ class Ollama(commands.Cog):
|
|||
|
||||
if resp.status == 404:
|
||||
self.log.debug("Beginning download of %r", model)
|
||||
|
||||
def progress_bar(_v: float, action: str = None):
|
||||
bar = "\N{large green square}" * round(_v / 10)
|
||||
bar += "\N{white large square}" * (10 - len(bar))
|
||||
|
|
Loading…
Reference in a new issue