2 lines
3.9 KiB
Plaintext
2 lines
3.9 KiB
Plaintext
|
|
"smart_sources:100-project/Personal/Software/AI/Azure.md": {"path":"100-project/Personal/Software/AI/Azure.md","last_embed":{"hash":null},"embeddings":{},"last_read":{"hash":"17if3nd","at":1766986879323},"class_name":"SmartSource","last_import":{"mtime":1720497099000,"size":2948,"at":1766986879407,"hash":"17if3nd"},"blocks":{"#":[2,11],"#ChatGPT Settings (required)":[12,12],"#Set the API Key from OpenAI":[13,14],"#Set the API Key from OpenAI#{1}":[14,14],"#To use Azure OpenAI API, set `OPENAI_AZURE` to true and `CHATGPT_REVERSE_PROXY` to your completion endpoint":[15,15],"#OPENAI_AZURE=false":[16,19],"#OPENAI_AZURE=false#{1}":[17,19],"#Set the ChatGPT conversation context to 'thread', 'room' or 'both'.":[20,21],"#Set the ChatGPT conversation context to 'thread', 'room' or 'both'.#{1}":[21,21],"#Set the ChatGPT model to be used by the API. 'gpt-3.5-turbo' is the official ChatGPT-model from OpenAI":[22,22],"#Note that the models are not free and will charge your OpenAI account depending on the usage of tokens":[23,23],"#CHATGPT_API_MODEL=gpt-3.5-turbo":[24,25],"#CHATGPT_API_MODEL=gpt-3.5-turbo#{1}":[25,25],"#(Optional) Explicitly set the prefix sent to model at the beginning of a conversation":[26,26],"#CHATGPT_PROMPT_PREFIX=Instructions:\\nYou are ChatGPT, a large language model trained by OpenAI.":[27,27],"#(Optional) Set to true if ChatGPT should ignore any messages which are not text":[28,28],"#CHATGPT_IGNORE_MEDIA=false":[29,29],"#(Optional) You can change the api url to use another (OpenAI-compatible) API endpoint":[30,30],"#CHATGPT_REVERSE_PROXY=https://api.openai.com/v1/chat/completions":[31,31],"#(Optional) Set the temperature of the model. 0.0 is deterministic, 1.0 is very creative.":[32,33],"#(Optional) Set the temperature of the model. 0.0 is deterministic, 1.0 is very creative.#{1}":[33,33],"#(Optional) (Optional) Davinci models have a max context length of 4097 tokens, but you may need to change this for other models.":[34,35],"#(Optional) (Optional) Davinci models have a max context length of 4097 tokens, but you may need to change this for other models.#{1}":[35,35],"#You might want to lower this to save money if using a paid model. Earlier messages will be dropped until the prompt is within the limit.":[36,36],"#CHATGPT_MAX_PROMPT_TOKENS=3097":[37,38],"#Set data store settings":[39,44],"#Set data store settings#{1}":[40,44],"#Matrix Static Settings (required, see notes)":[45,45],"#Defaults to \"https://matrix.org\"":[46,47],"#Defaults to \"https://matrix.org\"#{1}":[47,47],"#With the @ and :DOMAIN, ie @SOMETHING:DOMAIN - Not used if `MATRIX_ACCESS_TOKEN` is set.":[48,49],"#With the @ and :DOMAIN, ie @SOMETHING:DOMAIN - Not used if `MATRIX_ACCESS_TOKEN` is set.#{1}":[49,49],"#Set `MATRIX_BOT_PASSWORD` the bot will print an `MATRIX_ACCESS_TOKEN` to the terminal":[50,51],"#Set `MATRIX_BOT_PASSWORD` the bot will print an `MATRIX_ACCESS_TOKEN` to the terminal#{1}":[51,51],"#Not used if `MATRIX_ACCESS_TOKEN` is set.":[52,54],"#Not used if `MATRIX_ACCESS_TOKEN` is set.#{1}":[53,54],"#Matrix Configurable Settings Defaults (optional)":[55,55],"#Leave prefix blank to reply to all messages":[56,59],"#Leave prefix blank to reply to all messages#{1}":[57,59],"#Matrix Access Control (optional)":[60,60],"#Can be set to user:homeserver or a wildcard like :anotherhomeserver.example":[61,62],"#Can be set to user:homeserver or a wildcard like :anotherhomeserver.example#{1}":[62,62],"#`MATRIX_WHITELIST` is overriden by `MATRIX_BLACKLIST` if they contain same entry":[63,65],"#`MATRIX_WHITELIST` is overriden by `MATRIX_BLACKLIST` if they contain same entry#{1}":[64,65],"#Matrix Feature Flags (optional)":[66,68],"#Matrix Feature Flags (optional)#{1}":[67,68],"#If you turn threads off you will have problems if you don't set CHATGPT_CONTEXT=room":[69,75],"#If you turn threads off you will have problems if you don't set CHATGPT_CONTEXT=room#{1}":[70,75]},"outlinks":[],"task_lines":[],"tasks":{},"codeblock_ranges":[[5,8],[9,11]]}, |