diff --git a/fern/docs/pages/manual/llms.mdx b/fern/docs/pages/manual/llms.mdx index c9b88e3fb..8b56f758d 100644 --- a/fern/docs/pages/manual/llms.mdx +++ b/fern/docs/pages/manual/llms.mdx @@ -39,7 +39,7 @@ llm: openai: api_key: # You could skip this configuration and use the OPENAI_API_KEY env var instead model: # Optional model to use. Default is "gpt-3.5-turbo" - # Note: Open AI Models are listed here [here](https://platform.openai.com/docs/models) + # Note: Open AI Models are listed here: https://platform.openai.com/docs/models ``` And run PrivateGPT loading that profile you just created: diff --git a/fern/docs/pages/manual/ui.mdx b/fern/docs/pages/manual/ui.mdx index 3a5373d67..ed095fe25 100644 --- a/fern/docs/pages/manual/ui.mdx +++ b/fern/docs/pages/manual/ui.mdx @@ -54,13 +54,13 @@ you have given the model. Examples of system prompts can be be found Some interesting examples to try include: -* You are {x}. You have all the knowledge and personality of {x}. Answer as if you were {x} using +* You are -X-. You have all the knowledge and personality of -X-. Answer as if you were -X- using their manner of speaking and vocabulary. * Example: You are Shakespeare. You have all the knowledge and personality of Shakespeare. Answer as if you were Shakespeare using their manner of speaking and vocabulary. -* You are an expert (at) {role}. Answer all questions using your expertise on {specific domain topic}. +* You are an expert (at) -role-. Answer all questions using your expertise on -specific domain topic-. * Example: You are an expert software engineer. Answer all questions using your expertise on Python. -* You are a {role} bot, respond with {response criteria} needed. If no {response criteria} is needed, -respond with {alternate response} +* You are a -role- bot, respond with -response criteria needed-. If no -response criteria- is needed, +respond with -alternate response-. * Example: You are a grammar checking bot, respond with any grammatical corrections needed. If no corrections are needed, respond with "verified". \ No newline at end of file diff --git a/private_gpt/settings/settings.py b/private_gpt/settings/settings.py index b74735f57..8b03f6111 100644 --- a/private_gpt/settings/settings.py +++ b/private_gpt/settings/settings.py @@ -147,7 +147,7 @@ class OpenAISettings(BaseModel): api_key: str model: str = Field( "gpt-3.5-turbo", - description=("OpenAI Model to use. Example: 'gpt-4'."), + description="OpenAI Model to use. Example: 'gpt-4'.", ) @@ -156,7 +156,7 @@ class UISettings(BaseModel): path: str default_chat_system_prompt: str = Field( None, - description=("The default system prompt to use for the chat mode."), + description="The default system prompt to use for the chat mode.", ) default_query_system_prompt: str = Field( None, description="The default system prompt to use for the query mode."