pygpt-net 2.4.36.post1__py3-none-any.whl → 2.4.38__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- CHANGELOG.md +14 -1
- README.md +54 -13
- pygpt_net/CHANGELOG.txt +14 -1
- pygpt_net/__init__.py +3 -3
- pygpt_net/controller/chat/attachment.py +7 -39
- pygpt_net/controller/config/placeholder.py +29 -0
- pygpt_net/controller/lang/mapping.py +2 -2
- pygpt_net/controller/settings/editor.py +6 -0
- pygpt_net/controller/theme/__init__.py +33 -8
- pygpt_net/controller/theme/common.py +22 -1
- pygpt_net/controller/theme/markdown.py +26 -14
- pygpt_net/controller/theme/menu.py +26 -5
- pygpt_net/core/attachments/context.py +145 -53
- pygpt_net/core/audio/__init__.py +59 -1
- pygpt_net/core/bridge/worker.py +16 -2
- pygpt_net/core/events/event.py +2 -1
- pygpt_net/core/filesystem/__init__.py +5 -19
- pygpt_net/core/idx/chat.py +22 -24
- pygpt_net/core/render/web/body.py +31 -15
- pygpt_net/data/config/config.json +11 -5
- pygpt_net/data/config/models.json +3 -3
- pygpt_net/data/config/modes.json +3 -3
- pygpt_net/data/config/settings.json +81 -10
- pygpt_net/data/config/settings_section.json +3 -0
- pygpt_net/data/css/style.light.css +1 -0
- pygpt_net/data/css/{web.css → web-blocks.css} +144 -133
- pygpt_net/data/css/web-chatgpt.css +342 -0
- pygpt_net/data/css/web-chatgpt.dark.css +64 -0
- pygpt_net/data/css/web-chatgpt.light.css +75 -0
- pygpt_net/data/css/web-chatgpt_wide.css +342 -0
- pygpt_net/data/css/web-chatgpt_wide.dark.css +64 -0
- pygpt_net/data/css/web-chatgpt_wide.light.css +75 -0
- pygpt_net/data/locale/locale.de.ini +16 -3
- pygpt_net/data/locale/locale.en.ini +24 -10
- pygpt_net/data/locale/locale.es.ini +16 -3
- pygpt_net/data/locale/locale.fr.ini +16 -3
- pygpt_net/data/locale/locale.it.ini +16 -3
- pygpt_net/data/locale/locale.pl.ini +17 -4
- pygpt_net/data/locale/locale.uk.ini +16 -3
- pygpt_net/data/locale/locale.zh.ini +17 -4
- pygpt_net/plugin/audio_input/simple.py +17 -3
- pygpt_net/plugin/idx_llama_index/__init__.py +2 -2
- pygpt_net/plugin/real_time/__init__.py +2 -2
- pygpt_net/provider/core/config/patch.py +26 -1
- pygpt_net/ui/menu/config.py +7 -11
- pygpt_net/ui/menu/theme.py +9 -2
- pygpt_net/ui/widget/lists/context.py +1 -0
- pygpt_net/ui/widget/textarea/search_input.py +4 -1
- {pygpt_net-2.4.36.post1.dist-info → pygpt_net-2.4.38.dist-info}/METADATA +55 -14
- {pygpt_net-2.4.36.post1.dist-info → pygpt_net-2.4.38.dist-info}/RECORD +55 -49
- /pygpt_net/data/css/{web.dark.css → web-blocks.dark.css} +0 -0
- /pygpt_net/data/css/{web.light.css → web-blocks.light.css} +0 -0
- {pygpt_net-2.4.36.post1.dist-info → pygpt_net-2.4.38.dist-info}/LICENSE +0 -0
- {pygpt_net-2.4.36.post1.dist-info → pygpt_net-2.4.38.dist-info}/WHEEL +0 -0
- {pygpt_net-2.4.36.post1.dist-info → pygpt_net-2.4.38.dist-info}/entry_points.txt +0 -0
@@ -611,6 +611,7 @@ menu.theme.dark = Color oscuro...
|
|
611
611
|
menu.theme.density = Tamaño de la disposición
|
612
612
|
menu.theme.light = Color claro...
|
613
613
|
menu.theme.settings = Configuración...
|
614
|
+
menu.theme.style = Estilo...
|
614
615
|
menu.theme.syntax = Resaltado de sintaxis del código...
|
615
616
|
menu.theme.tooltips = Mostrar tooltips
|
616
617
|
menu.tools = Herramientas
|
@@ -625,7 +626,7 @@ menu.tray.screenshot = Preguntar con captura de pantalla...
|
|
625
626
|
menu.video = Vídeo
|
626
627
|
menu.video.capture = Entrada: cámara
|
627
628
|
menu.video.capture.auto = Captura automática
|
628
|
-
mode.agent = Agente (
|
629
|
+
mode.agent = Agente (Autónomo)
|
629
630
|
mode.agent_llama = Agente (LlamaIndex)
|
630
631
|
mode.agent_llama.tooltip = Agentes avanzados (LlamaIndex)
|
631
632
|
mode.agent.tooltip = Agentes simples (legacy)
|
@@ -683,7 +684,7 @@ preset.action.disable = Deshabilitar
|
|
683
684
|
preset.action.duplicate = Duplicar
|
684
685
|
preset.action.edit = Editar
|
685
686
|
preset.action.enable = Habilitar
|
686
|
-
preset.agent = Agente (
|
687
|
+
preset.agent = Agente (Autónomo)
|
687
688
|
preset.agent_llama = Agente (LlamaIndex)
|
688
689
|
preset.agent_provider = Proveedor de agentes
|
689
690
|
preset.agent_provider.desc = Seleccione el tipo de agente para el preset actual
|
@@ -752,6 +753,12 @@ settings.api_key = Clave API de OpenAI
|
|
752
753
|
settings.api_key.desc = Requerido para la API de OpenAI. Si deseas usar puntos finales personalizados o APIs locales, puedes introducir aquí cualquier valor.
|
753
754
|
settings.app.env = Entorno de la aplicación (os.environ)
|
754
755
|
settings.app.env.desc = Variables de entorno adicionales para configurar en el inicio de la aplicación
|
756
|
+
settings.audio.input.channels = Canaux
|
757
|
+
settings.audio.input.channels.desc = Canaux d'entrée, par défaut : 1
|
758
|
+
settings.audio.input.device = Dispositivo de Entrada de Audio
|
759
|
+
settings.audio.input.device.desc = Selecciona el dispositivo de audio para la entrada del micrófono.
|
760
|
+
settings.audio.input.rate = Taux d'échantillonnage
|
761
|
+
settings.audio.input.rate.desc = Taux d'échantillonnage, par défaut : 44100
|
755
762
|
settings.check_updates = Buscar actualizaciones al iniciar
|
756
763
|
settings.check_updates.bg = Buscar actualizaciones en segundo plano
|
757
764
|
settings.cmd.field.desc = Habilitar la herramienta `{cmd}`.
|
@@ -760,6 +767,10 @@ settings.cmd.field.instruction = Instrucción para el modelo
|
|
760
767
|
settings.cmd.field.params = Parámetros JSON (argumentos de la herramienta)
|
761
768
|
settings.cmd.field.tooltip = Habilitar la herramienta `{cmd}`
|
762
769
|
settings.context_threshold = Umbral del contexto
|
770
|
+
settings.ctx.attachment.rag.history = Usar historial en consulta RAG
|
771
|
+
settings.ctx.attachment.rag.history.desc = Cuando está habilitado, el contenido de toda la conversación se utilizará al preparar una consulta si el modo es RAG o Resumen.
|
772
|
+
settings.ctx.attachment.rag.history.max_items = Límite RAG
|
773
|
+
settings.ctx.attachment.rag.history.max_items.desc = Solo si la opción 'Usar historial en consulta RAG' está habilitada. Especifique el límite de cuántas entradas recientes en la conversación se utilizarán al generar una consulta para RAG. 0 = sin límite.
|
763
774
|
settings.ctx.audio = Siempre mostrar el ícono de audio
|
764
775
|
settings.ctx.auto_summary = Resumen automático del contexto
|
765
776
|
settings.ctx.auto_summary.model = Modelo utilizado para el resumen automático
|
@@ -853,6 +864,7 @@ settings.render.plain = Desactivar el formato markdown en la salida (modo de tex
|
|
853
864
|
settings.restart.required = Es necesario reiniciar la aplicación para que los cambios en esta opción se apliquen.
|
854
865
|
settings.section.access = Accesibilidad
|
855
866
|
settings.section.agent = Agentes y expertos
|
867
|
+
settings.section.audio = Audio
|
856
868
|
settings.section.ctx = Contexto
|
857
869
|
settings.section.files = Archivos y adjuntos
|
858
870
|
settings.section.general = General
|
@@ -866,6 +878,7 @@ settings.store_history = Almacenar historial
|
|
866
878
|
settings.store_history_time = Almacenar hora en el historial
|
867
879
|
settings.temperature = Temperatura
|
868
880
|
settings.theme.markdown = Usar colores del tema en la ventana
|
881
|
+
settings.theme.style = Estilo (chat)
|
869
882
|
settings.top_p = Top-p
|
870
883
|
settings.upload.data_dir = Almacene imágenes, capturas y subidas en el directorio de datos
|
871
884
|
settings.upload.data_dir.desc = Habilite para almacenar todo en un único directorio de datos
|
@@ -916,7 +929,7 @@ text.context_menu.find = Encontrar...
|
|
916
929
|
theme.dark = Oscuro
|
917
930
|
theme.light = Claro
|
918
931
|
tip.input.attachments = Aquí puedes agregar archivos adjuntos al mensaje que estás enviando. Puedes enviar archivos de texto, archivos de código, PDF, documentos, hojas de cálculo, y otros - se utilizarán como contexto adicional en la conversación. También puedes enviar imágenes o fotos capturadas de una cámara para su análisis.
|
919
|
-
tip.input.attachments.ctx = A continuación se
|
932
|
+
tip.input.attachments.ctx = A continuación se detallan los archivos adjuntos subidos y indexados disponibles para usar como contexto adicional en toda la discusión anterior. Opciones: Contexto completo - adjunta todo el contenido del archivo adjunto en el aviso de entrada, RAG - consulta el archivo adjunto indexado para obtener contexto adicional, Resumen - incluye un resumen del contenido agregado en el aviso, Desactivado - deshabilita el contexto adicional. **ADVERTENCIA:** el uso del modo de Contexto completo puede consumir muchos tokens (ya que el contenido bruto del archivo adjunto se adjuntará al aviso de entrada)!
|
920
933
|
tip.input.attachments.uploaded = Aquí tienes una lista de archivos subidos al servidor en el modo Asistente. Estos archivos están ubicados en un servidor remoto, no en tu computadora local, por lo que el modelo puede usarlos y analizarlos utilizando herramientas disponibles externamente en el servidor remoto.
|
921
934
|
tip.output.tab.calendar = Usando el calendario, puedes navegar de vuelta a conversaciones seleccionadas de un día específico. Haz clic en un día en el calendario para limitar la visualización del historial de chat a ese día. También puedes crear notas diarias y asignarles etiquetas de colores.
|
922
935
|
tip.output.tab.draw = Puedes usar la herramienta de dibujo para hacer bocetos rápidos o capturar una imagen de la cámara, y luego enviar dichas imágenes a la IA en modo Visión para su análisis. Puedes capturar una imagen con la cámara aquí o abrir una imagen desde el disco. Al usar una imagen, se incluirá en el mensaje enviado como un adjunto.
|
@@ -612,6 +612,7 @@ menu.theme.dark = Couleur sombre...
|
|
612
612
|
menu.theme.density = Taille de la mise en page
|
613
613
|
menu.theme.light = Couleur claire...
|
614
614
|
menu.theme.settings = Paramètres...
|
615
|
+
menu.theme.style = Style...
|
615
616
|
menu.theme.syntax = Coloration syntaxique du code...
|
616
617
|
menu.theme.tooltips = Afficher les infobulles
|
617
618
|
menu.tools = Outils
|
@@ -626,7 +627,7 @@ menu.tray.screenshot = Demander avec une capture d'écran...
|
|
626
627
|
menu.video = Vidéo
|
627
628
|
menu.video.capture = Entrée : caméra
|
628
629
|
menu.video.capture.auto = Capture automatique
|
629
|
-
mode.agent = Agent (
|
630
|
+
mode.agent = Agent (Autonome)
|
630
631
|
mode.agent_llama = Agent (LlamaIndex)
|
631
632
|
mode.agent_llama.tooltip = Agents avancés (LlamaIndex)
|
632
633
|
mode.agent.tooltip = Agents simples (legacy)
|
@@ -683,7 +684,7 @@ preset.action.disable = Désactiver
|
|
683
684
|
preset.action.duplicate = Dupliquer
|
684
685
|
preset.action.edit = Modifier
|
685
686
|
preset.action.enable = Activer
|
686
|
-
preset.agent = Agent (
|
687
|
+
preset.agent = Agent (Autonome)
|
687
688
|
preset.agent_llama = Agent (LlamaIndex)
|
688
689
|
preset.agent_provider = Fournisseur d'agent
|
689
690
|
preset.agent_provider.desc = Sélectionnez le type d'agent pour le préréglage actuel
|
@@ -752,6 +753,12 @@ settings.api_key = Clé API OpenAI
|
|
752
753
|
settings.api_key.desc = Requis pour l'API OpenAI. Si vous souhaitez utiliser des points de terminaison personnalisés ou des API locales, vous pouvez entrer n'importe quelle valeur ici.
|
753
754
|
settings.app.env = Environnement de l'application (os.environ)
|
754
755
|
settings.app.env.desc = Variables d'environnement supplémentaires à définir au démarrage de l'application
|
756
|
+
settings.audio.input.channels = Canaux
|
757
|
+
settings.audio.input.channels.desc = Canaux d'entrée, par défaut : 1
|
758
|
+
settings.audio.input.device = Périphérique d'Entrée Audio
|
759
|
+
settings.audio.input.device.desc = Sélectionnez le périphérique audio pour l'entrée du microphone.
|
760
|
+
settings.audio.input.rate = Taux d'échantillonnage
|
761
|
+
settings.audio.input.rate.desc = Taux d'échantillonnage, par défaut : 44100
|
755
762
|
settings.check_updates = Vérifier les mises à jour au démarrage
|
756
763
|
settings.check_updates.bg = Vérifier les mises à jour en arrière-plan
|
757
764
|
settings.cmd.field.desc = Activer l'outil `{cmd}`.
|
@@ -760,6 +767,10 @@ settings.cmd.field.instruction = Instruction pour le modèle
|
|
760
767
|
settings.cmd.field.params = Paramètres JSON (arguments de l'outil)
|
761
768
|
settings.cmd.field.tooltip = Activer l'outil `{cmd}`
|
762
769
|
settings.context_threshold = Seuil de contexte
|
770
|
+
settings.ctx.attachment.rag.history = Utiliser l'historique dans la requête RAG
|
771
|
+
settings.ctx.attachment.rag.history.desc = Lorsqu'il est activé, le contenu de toute la conversation sera utilisé lors de la préparation d'une requête si le mode est RAG ou Résumé.
|
772
|
+
settings.ctx.attachment.rag.history.max_items = Limite RAG
|
773
|
+
settings.ctx.attachment.rag.history.max_items.desc = Seulement si l'option 'Utiliser l'historique dans la requête RAG' est activée. Spécifiez la limite du nombre d'entrées récentes de la conversation qui seront utilisées lors de la génération d'une requête pour RAG. 0 = aucune limite.
|
763
774
|
settings.ctx.audio = Toujours afficher l'icône audio
|
764
775
|
settings.ctx.auto_summary = Résumé automatique du contexte
|
765
776
|
settings.ctx.auto_summary.model = Modèle utilisé pour le résumé automatique
|
@@ -853,6 +864,7 @@ settings.render.plain = Désactiver le formatage markdown dans la sortie (mode t
|
|
853
864
|
settings.restart.required = Un redémarrage de l'application est requis pour que les modifications de cette option soient appliquées.
|
854
865
|
settings.section.access = Accessibilité
|
855
866
|
settings.section.agent = Agents et experts
|
867
|
+
settings.section.audio = Audio
|
856
868
|
settings.section.ctx = Contexte
|
857
869
|
settings.section.files = Fichiers et pièces jointes
|
858
870
|
settings.section.general = Général
|
@@ -866,6 +878,7 @@ settings.store_history = Stocker l'historique
|
|
866
878
|
settings.store_history_time = Stocker l'heure dans l'historique
|
867
879
|
settings.temperature = Température
|
868
880
|
settings.theme.markdown = Utilisez les couleurs du thème dans la fenêtre de chat
|
881
|
+
settings.theme.style = Style (chat)
|
869
882
|
settings.top_p = Top-p
|
870
883
|
settings.upload.data_dir = Stockez les images, captures et téléchargements dans le répertoire de données
|
871
884
|
settings.upload.data_dir.desc = Activez pour stocker tout dans un seul répertoire de données
|
@@ -916,7 +929,7 @@ text.context_menu.find = Trouver...
|
|
916
929
|
theme.dark = Sombre
|
917
930
|
theme.light = Lumière
|
918
931
|
tip.input.attachments = Ici, vous pouvez ajouter des pièces jointes au message que vous envoyez. Vous pouvez envoyer des fichiers texte, des fichiers de code, des PDF, des documents, des feuilles de calcul, et d'autres - ils seront utilisés comme contexte supplémentaire dans la conversation. Vous pouvez également envoyer des images ou des photos capturées par une caméra pour analyse.
|
919
|
-
tip.input.attachments.ctx =
|
932
|
+
tip.input.attachments.ctx = Vous trouverez ci-dessous les pièces jointes téléchargées et indexées disponibles à utiliser comme contexte supplémentaire pour toute la discussion ci-dessus. Options : Contexte complet - attache le contenu entier de la pièce jointe dans le prompt d'entrée, RAG - interroge la pièce jointe indexée pour un contexte supplémentaire, Résumé - inclut un résumé du contenu ajouté dans le prompt, Désactivé - désactive le contexte supplémentaire. **AVERTISSEMENT :** L'utilisation du mode Contexte complet peut consommer beaucoup de jetons (car le contenu brut de la pièce jointe sera attaché au prompt d'entrée)!
|
920
933
|
tip.input.attachments.uploaded = Voici une liste de fichiers téléchargés sur le serveur en mode Assistant. Ces fichiers sont situés sur un serveur distant, pas sur votre ordinateur local, donc le modèle peut les utiliser et les analyser à l'aide des outils disponibles à l'extérieur sur le serveur distant.
|
921
934
|
tip.output.tab.calendar = En utilisant le calendrier, vous pouvez revenir à des conversations sélectionnées d'un jour spécifique. Cliquez sur un jour dans le calendrier pour limiter l'affichage de l'historique de chat à ce jour. Vous pouvez également créer des notes de jour et leur attribuer des étiquettes colorées.
|
922
935
|
tip.output.tab.draw = Vous pouvez utiliser l'outil de dessin pour esquisser rapidement ou capturer une image de la caméra, puis envoyer de telles images à l'IA en mode Vision pour analyse. Vous pouvez capturer une image avec la caméra ici ou ouvrir une image du disque. Lors de l'utilisation d'une image, elle sera incluse dans le message envoyé en tant que pièce jointe.
|
@@ -612,6 +612,7 @@ menu.theme.dark = Colore scuro...
|
|
612
612
|
menu.theme.density = Dimensione del layout
|
613
613
|
menu.theme.light = Colore chiaro...
|
614
614
|
menu.theme.settings = Impostazioni...
|
615
|
+
menu.theme.style = Stile...
|
615
616
|
menu.theme.syntax = Evidenziazione della sintassi del codice...
|
616
617
|
menu.theme.tooltips = Mostra suggerimenti
|
617
618
|
menu.tools = Strumenti
|
@@ -626,7 +627,7 @@ menu.tray.screenshot = Chiedi con uno screenshot...
|
|
626
627
|
menu.video = Video
|
627
628
|
menu.video.capture = Ingresso: fotocamera
|
628
629
|
menu.video.capture.auto = Cattura automatica
|
629
|
-
mode.agent = Agente (
|
630
|
+
mode.agent = Agente (Autonomo)
|
630
631
|
mode.agent_llama = Agente (LlamaIndex)
|
631
632
|
mode.agent_llama.tooltip = Agenti avanzati (LlamaIndex)
|
632
633
|
mode.agent.tooltip = Agenti semplici (legacy)
|
@@ -684,7 +685,7 @@ preset.action.disable = Disabilitare
|
|
684
685
|
preset.action.duplicate = Duplica
|
685
686
|
preset.action.edit = Modifica
|
686
687
|
preset.action.enable = Abilitare
|
687
|
-
preset.agent = Agente (
|
688
|
+
preset.agent = Agente (Autonomo)
|
688
689
|
preset.agent_llama = Agente (LlamaIndex)
|
689
690
|
preset.agent_provider = Fornitore di agenti
|
690
691
|
preset.agent_provider.desc = Seleziona il tipo di agente per il preset corrente
|
@@ -753,6 +754,12 @@ settings.api_key = OpenAI API KEY
|
|
753
754
|
settings.api_key.desc = Richiesto per l'API OpenAI. Se desideri utilizzare endpoint personalizzati o API locali, puoi inserire qui qualsiasi valore.
|
754
755
|
settings.app.env = Ambiente dell'applicazione (os.environ)
|
755
756
|
settings.app.env.desc = Variabili d'ambiente aggiuntive da impostare all'avvio dell'applicazione
|
757
|
+
settings.audio.input.channels = Canali
|
758
|
+
settings.audio.input.channels.desc = Canali di ingresso, predefinito: 1
|
759
|
+
settings.audio.input.device = Dispositivo di Ingresso Audio
|
760
|
+
settings.audio.input.device.desc = Seleziona il dispositivo audio per l'ingresso del microfono.
|
761
|
+
settings.audio.input.rate = Frequenza di campionamento
|
762
|
+
settings.audio.input.rate.desc = Frequenza di campionamento, predefinito: 44100
|
756
763
|
settings.check_updates = Controlla aggiornamenti all'avvio
|
757
764
|
settings.check_updates.bg = Controlla gli aggiornamenti in background
|
758
765
|
settings.cmd.field.desc = Abilita lo strumento `{cmd}`.
|
@@ -761,6 +768,10 @@ settings.cmd.field.instruction = Istruzione per il modello
|
|
761
768
|
settings.cmd.field.params = Parametri JSON (argomenti dello strumento)
|
762
769
|
settings.cmd.field.tooltip = Abilita lo strumento `{cmd}`
|
763
770
|
settings.context_threshold = Soglia del contesto
|
771
|
+
settings.ctx.attachment.rag.history = Usa la cronologia nella query RAG
|
772
|
+
settings.ctx.attachment.rag.history.desc = Quando abilitato, il contenuto dell'intera conversazione verrà utilizzato durante la preparazione di una query se la modalità è RAG o Sommario.
|
773
|
+
settings.ctx.attachment.rag.history.max_items = Limite RAG
|
774
|
+
settings.ctx.attachment.rag.history.max_items.desc = Solo se l'opzione 'Usa la cronologia nella query RAG' è abilitata. Specifica il limite di quante voci recenti nella conversazione verranno utilizzate quando si genera una query per RAG. 0 = nessun limite.
|
764
775
|
settings.ctx.audio = Mostra sempre l'icona audio
|
765
776
|
settings.ctx.auto_summary = Riassunto automatico del contesto
|
766
777
|
settings.ctx.auto_summary.model = Modello utilizzato per riassunto automatico
|
@@ -853,6 +864,7 @@ settings.render.code_syntax = Stile di evidenziazione della sintassi del codice
|
|
853
864
|
settings.restart.required = È necessario riavviare l'applicazione affinché le modifiche a questa opzione siano applicate.
|
854
865
|
settings.section.access = Accessibilità
|
855
866
|
settings.section.agent = Agenti ed esperti
|
867
|
+
settings.section.audio = Audio
|
856
868
|
settings.section.ctx = Contesto
|
857
869
|
settings.section.files = File e allegati
|
858
870
|
settings.section.general = Generale
|
@@ -866,6 +878,7 @@ settings.store_history = Conserva la cronologia
|
|
866
878
|
settings.store_history_time = Conserva l'orario nella cronologia
|
867
879
|
settings.temperature = Temperatura
|
868
880
|
settings.theme.markdown = Usa i colori del tema nella finestra della chat
|
881
|
+
settings.theme.style = Stile (chat)
|
869
882
|
settings.top_p = Top-p
|
870
883
|
settings.upload.data_dir = Memorizza immagini, catture e caricamenti nella directory dei dati
|
871
884
|
settings.upload.data_dir.desc = Abilita per memorizzare tutto in una singola directory dei dati
|
@@ -916,7 +929,7 @@ text.context_menu.find = Trova...
|
|
916
929
|
theme.dark = Scuro
|
917
930
|
theme.light = Luminoso
|
918
931
|
tip.input.attachments = Qui puoi aggiungere allegati al messaggio che stai inviando. Puoi inviare file di testo, file di codice, PDF, documenti, fogli di calcolo e altri - verranno utilizzati come contesto aggiuntivo nella conversazione. Puoi anche inviare immagini o foto catturate da una fotocamera per l'analisi.
|
919
|
-
tip.input.attachments.ctx = Di seguito sono
|
932
|
+
tip.input.attachments.ctx = Di seguito sono disponibili gli allegati caricati e indicizzati da utilizzare come contesto aggiuntivo per l'intera discussione sopra. Opzioni: Contesto completo - allega l'intero contenuto dell'allegato nel prompt di input, RAG - interroga l'allegato indicizzato per un contesto aggiuntivo, Sintesi - include un riassunto del contenuto aggiunto nel prompt, Disattivato - disabilita il contesto aggiuntivo. **ATTENZIONE:** l'uso della modalità Contesto completo può consumare molti token (poiché il contenuto grezzo dell'allegato verrà allegato al prompt di input)!
|
920
933
|
tip.input.attachments.uploaded = Qui è presente un elenco di файлы caricati sul server in modalità Assistant. Questi файлы si trovano su un сервер remoto, non sul tuo computer locale, quindi il modello può utilizzarli e analizzarli utilizzando strumenti disponibili all'esterno sul сервер remoto.
|
921
934
|
tip.output.tab.calendar = Utilizzando il calendario, puoi tornare a conversazioni selezionate di un giorno specifico. Clicca su un giorno nel calendario per limitare la visualizzazione della cronologia della chat a quel giorno. Puoi anche creare note giornaliere e assegnarle etichette colorate.
|
922
935
|
tip.output.tab.draw = Puoi utilizzare lo strumento di disegno per fare rapidi schizzi o catturare un'immagine dalla fotocamera, e poi inviare tali immagini all'IA in modalità Vision per l'analisi. Puoi catturare un'immagine con la fotocamera qui o aprire un'immagine dal disco. Quando utilizzi un'immagine, questa sarà inclusa nel messaggio inviato come allegato.
|
@@ -115,7 +115,7 @@ attachments.header.name = Nazwa
|
|
115
115
|
attachments.header.path = Ścieżka
|
116
116
|
attachments.header.size = Rozmiar
|
117
117
|
attachments.header.store = Baza(y) wektorowa
|
118
|
-
attachments.options.label
|
118
|
+
attachments.options.label = Opcje
|
119
119
|
attachments.send_clear = Wyczyść listę po wysłaniu
|
120
120
|
attachments.tab = Załączniki
|
121
121
|
attachments_uploaded.btn.clear = Wyczyść
|
@@ -612,6 +612,7 @@ menu.theme.dark = Ciemny kolor...
|
|
612
612
|
menu.theme.density = Rozmiar układu
|
613
613
|
menu.theme.light = Jasny kolor...
|
614
614
|
menu.theme.settings = Ustawienia...
|
615
|
+
menu.theme.style = Styl...
|
615
616
|
menu.theme.syntax = Podświetlanie składni kodu...
|
616
617
|
menu.theme.tooltips = Pokaż podpowiedzi
|
617
618
|
menu.tools = Narzędzia
|
@@ -626,7 +627,7 @@ menu.tray.screenshot = Zapytaj ze zrzutem ekranu...
|
|
626
627
|
menu.video = Wideo
|
627
628
|
menu.video.capture = Wejście: kamera
|
628
629
|
menu.video.capture.auto = Automatyczne przechwytywanie
|
629
|
-
mode.agent = Agent (
|
630
|
+
mode.agent = Agent (autonomiczny)
|
630
631
|
mode.agent_llama = Agent (LlamaIndex)
|
631
632
|
mode.agent_llama.tooltip = Zaawansowani agenci (LlamaIndex)
|
632
633
|
mode.agent.tooltip = Prości agenci (legacy)
|
@@ -684,7 +685,7 @@ preset.action.disable = Wyłączyć
|
|
684
685
|
preset.action.duplicate = Duplikuj
|
685
686
|
preset.action.edit = Edycja
|
686
687
|
preset.action.enable = Włączyć
|
687
|
-
preset.agent = Agent (
|
688
|
+
preset.agent = Agent (autonomiczny)
|
688
689
|
preset.agent_llama = Agent (LlamaIndex)
|
689
690
|
preset.agent_provider = Dostawca agenta
|
690
691
|
preset.agent_provider.desc = Wybierz typ agenta dla bieżącego presetu
|
@@ -753,6 +754,12 @@ settings.api_key = Klucz API OpenAI
|
|
753
754
|
settings.api_key.desc = Wymagany dla API OpenAI. Jeśli chcesz używać niestandardowych punktów końcowych lub lokalnych API, możesz tutaj wprowadzić dowolną wartość.
|
754
755
|
settings.app.env = Środowisko aplikacji (os.environ)
|
755
756
|
settings.app.env.desc = Dodatkowe zmienne środowiskowe do ustawienia przy starcie aplikacji
|
757
|
+
settings.audio.input.channels = Kanały
|
758
|
+
settings.audio.input.channels.desc = Kanały wejściowe, domyślnie: 1
|
759
|
+
settings.audio.input.device = Urządzenie Wejściowe Audio
|
760
|
+
settings.audio.input.device.desc = Wybierz urządzenie audio dla wejścia mikrofonu.
|
761
|
+
settings.audio.input.rate = Częstotliwość próbkowania
|
762
|
+
settings.audio.input.rate.desc = Częstotliwość próbkowania, domyślnie: 44100
|
756
763
|
settings.check_updates = Sprawdź aktualizacje przy starcie
|
757
764
|
settings.check_updates.bg = Sprawdź aktualizacje w tle
|
758
765
|
settings.cmd.field.desc = Włącz narzędzie `{cmd}`.
|
@@ -761,6 +768,10 @@ settings.cmd.field.instruction = Instrukcja dla modelu
|
|
761
768
|
settings.cmd.field.params = Parametry JSON (argumenty narzędzia)
|
762
769
|
settings.cmd.field.tooltip = Włącz narzędzie `{cmd}`
|
763
770
|
settings.context_threshold = Zarezerwowany kontekst
|
771
|
+
settings.ctx.attachment.rag.history = Użyj historii w zapytaniu RAG
|
772
|
+
settings.ctx.attachment.rag.history.desc = Gdy jest włączone, zawartość całej rozmowy będzie używana podczas przygotowywania zapytania, jeśli tryb to RAG lub Podsumowanie.
|
773
|
+
settings.ctx.attachment.rag.history.max_items = Limit RAG
|
774
|
+
settings.ctx.attachment.rag.history.max_items.desc = Tylko jeśli opcja 'Użyj historii w zapytaniu RAG' jest włączona. Określ limit, ile ostatnich wpisów z rozmowy zostanie użytych podczas generowania zapytania dla RAG. 0 = brak limitu.
|
764
775
|
settings.ctx.audio = Zawsze pokazuj ikonę audio
|
765
776
|
settings.ctx.auto_summary = Kontekst: auto-podsumowanie
|
766
777
|
settings.ctx.auto_summary.model = Model używany do auto-podsumowania
|
@@ -854,6 +865,7 @@ settings.render.plain = Wyłącz formatowanie markdown w wyjściu (tryb plain-te
|
|
854
865
|
settings.restart.required = Restart aplikacji jest wymagany, aby zmiany dla tej opcji zostały wprowadzone.
|
855
866
|
settings.section.access = Dostępność
|
856
867
|
settings.section.agent = Agenci i eksperci
|
868
|
+
settings.section.audio = Audio
|
857
869
|
settings.section.ctx = Kontekst
|
858
870
|
settings.section.files = Pliki i załączniki
|
859
871
|
settings.section.general = Ogólne
|
@@ -867,6 +879,7 @@ settings.store_history = Zapisuj historię
|
|
867
879
|
settings.store_history_time = Zapisuj czas w historii
|
868
880
|
settings.temperature = Temperatura
|
869
881
|
settings.theme.markdown = Użyj motywu kolorystycznego w oknie czatu
|
882
|
+
settings.theme.style = Styl (czat)
|
870
883
|
settings.top_p = Top-p
|
871
884
|
settings.upload.data_dir = Przechowuj obrazy, zrzuty ekranu i przesyłane pliki w katalogu danych
|
872
885
|
settings.upload.data_dir.desc = Włącz, aby przechowywać wszystko w jednym katalogu danych
|
@@ -917,7 +930,7 @@ text.context_menu.find = Znajdź...
|
|
917
930
|
theme.dark = Ciemny
|
918
931
|
theme.light = Jasny
|
919
932
|
tip.input.attachments = Tutaj możesz dodać załączniki do wysyłanej wiadomości. Możesz wysyłać pliki tekstowe, z kodem, PDF, dokumenty, arkusze i inne - zostaną one użyte jako dodatkowy kontekst w konwersacji. Możesz także wysyłać obrazy lub przechwycone zdjęcia z kamery do analizy.
|
920
|
-
tip.input.attachments.ctx = Poniżej znajdują się
|
933
|
+
tip.input.attachments.ctx = Poniżej znajdują się załączone i zindeksowane załączniki dostępne do użycia jako dodatkowy kontekst dla całej powyższej dyskusji. Opcje: Pełny kontekst - dołącza całą zawartość z załącznika w zapytaniu, RAG - przeszukuje zindeksowany załącznik w poszukiwaniu dodatkowego kontekstu, Podsumowanie - dołącza podsumowanie dodanej treści w zapytaniu, Wyłączone - wyłącza dodatkowy kontekst. **OSTRZEŻENIE:** użycie trybu Pełny kontekst może zużywać wiele tokenów (surowa zawartość z załącznika zostanie dołączona do zapytania)!
|
921
934
|
tip.input.attachments.uploaded = Tutaj znajduje się lista plików przesłanych na serwer w trybie Asystenta. Te pliki znajdują się na zdalnym serwerze, a nie na lokalnym komputerze, więc model może używać i analizować je za pomocą narzędzi dostępnych zewnętrznie na zdalnym serwerze.
|
922
935
|
tip.output.tab.calendar = Korzystając z kalendarza, możesz wrócić do wybranych rozmów z określonego dnia. Kliknij na dzień w kalendarzu, aby ograniczyć wyświetlanie historii czatu do tego dnia. Możesz również tworzyć notatki dnia i przypisywać im kolorowe etykiety.
|
923
936
|
tip.output.tab.draw = Możesz użyć narzędzia do rysowania do szybkiego szkicowania lub przechwytywania obrazu z kamery, a następnie wysyłać takie obrazy do AI w trybie Vision do analizy. Możesz tu przechwycić obraz za pomocą kamery lub otworzyć obraz z dysku. Przy użyciu obrazu zostanie on dołączony do wysłanej wiadomości jako załącznik.
|
@@ -611,6 +611,7 @@ menu.theme.dark = Темний колір...
|
|
611
611
|
menu.theme.density = Розмір компонування
|
612
612
|
menu.theme.light = Світлий колір...
|
613
613
|
menu.theme.settings = Налаштування...
|
614
|
+
menu.theme.style = Стиль...
|
614
615
|
menu.theme.syntax = Підсвітка синтаксису коду...
|
615
616
|
menu.theme.tooltips = Показувати підказки
|
616
617
|
menu.tools = Інструменти
|
@@ -625,7 +626,7 @@ menu.tray.screenshot = Запитати зі скріншотом...
|
|
625
626
|
menu.video = Відео
|
626
627
|
menu.video.capture = Вхід: камера
|
627
628
|
menu.video.capture.auto = Автоматичне захоплення зображення
|
628
|
-
mode.agent = Агент (
|
629
|
+
mode.agent = Агент (Автономний)
|
629
630
|
mode.agent_llama = Агент (LlamaIndex)
|
630
631
|
mode.agent_llama.tooltip = Розширені агенти (LlamaIndex)
|
631
632
|
mode.agent.tooltip = Прості агенти (legacy)
|
@@ -683,7 +684,7 @@ preset.action.disable = Вимкнути
|
|
683
684
|
preset.action.duplicate = Дублювати
|
684
685
|
preset.action.edit = Редагувати
|
685
686
|
preset.action.enable = Увімкнути
|
686
|
-
preset.agent = Агент (
|
687
|
+
preset.agent = Агент (Автономний)
|
687
688
|
preset.agent_llama = Агент (LlamaIndex)
|
688
689
|
preset.agent_provider = Постачальник агентів
|
689
690
|
preset.agent_provider.desc = Виберіть тип агента для поточного пресету
|
@@ -752,6 +753,12 @@ settings.api_key = OpenAI API КЛЮЧ
|
|
752
753
|
settings.api_key.desc = Необхідний для API OpenAI. Якщо ви бажаєте використовувати налаштовані кінцеві точки або локальні API, тоді ви можете ввести будь-яке значення тут.
|
753
754
|
settings.app.env = Оточення додатка (os.environ)
|
754
755
|
settings.app.env.desc = Додаткові змінні середовища для встановлення при запуску додатка
|
756
|
+
settings.audio.input.channels = Канали
|
757
|
+
settings.audio.input.channels.desc = Вхідні канали, за замовчуванням: 1
|
758
|
+
settings.audio.input.device = Аудіо Вхідний Пристрій
|
759
|
+
settings.audio.input.device.desc = Виберіть аудіо пристрій для введення мікрофона.
|
760
|
+
settings.audio.input.rate = Частота дискретизації
|
761
|
+
settings.audio.input.rate.desc = Частота дискретизації, за замовчуванням: 44100
|
755
762
|
settings.check_updates = Перевіряти оновлення при запуску
|
756
763
|
settings.check_updates.bg = Перевіряти оновлення у фоновому режимі
|
757
764
|
settings.cmd.field.desc = Увімкнути інструмент `{cmd}`.
|
@@ -760,6 +767,10 @@ settings.cmd.field.instruction = Інструкція для моделі
|
|
760
767
|
settings.cmd.field.params = Параметри JSON (аргументи інструменту)
|
761
768
|
settings.cmd.field.tooltip = Увімкнути інструмент `{cmd}`
|
762
769
|
settings.context_threshold = Поріг контексту
|
770
|
+
settings.ctx.attachment.rag.history = Використовувати історію в запиті RAG
|
771
|
+
settings.ctx.attachment.rag.history.desc = Коли увімкнено, вміст усієї розмови буде використовуватися під час підготовки запиту, якщо режим - RAG або Резюме.
|
772
|
+
settings.ctx.attachment.rag.history.max_items = Ліміт RAG
|
773
|
+
settings.ctx.attachment.rag.history.max_items.desc = Тільки якщо опція 'Використовувати історію в запиті RAG' увімкнена. Укажіть ліміт того, скільки недавніх записів розмови буде використано під час створення запиту для RAG. 0 = без обмежень.
|
763
774
|
settings.ctx.audio = Завжди показувати значок аудіо
|
764
775
|
settings.ctx.auto_summary = Автоматичне стиснення контексту
|
765
776
|
settings.ctx.auto_summary.model = Модель, що використовується для автоматичного стиснення
|
@@ -853,6 +864,7 @@ settings.render.plain = Вимкнути форматування markdown у в
|
|
853
864
|
settings.restart.required = Для внесення змін у цю опцію необхідно перезапустити програму.
|
854
865
|
settings.section.access = Доступність
|
855
866
|
settings.section.agent = Агенти та експерти
|
867
|
+
settings.section.audio = Аудіо
|
856
868
|
settings.section.ctx = Контекст
|
857
869
|
settings.section.files = Файли та вкладення
|
858
870
|
settings.section.general = Загальні
|
@@ -866,6 +878,7 @@ settings.store_history = Зберігати історію
|
|
866
878
|
settings.store_history_time = Зберігати час в історії
|
867
879
|
settings.temperature = Температура
|
868
880
|
settings.theme.markdown = Використовуйте кольори теми у вікні чату
|
881
|
+
settings.theme.style = Стиль (чат)
|
869
882
|
settings.top_p = Top-p
|
870
883
|
settings.upload.data_dir = Зберігайте зображення, знімки екрану та завантаження у директорії даних
|
871
884
|
settings.upload.data_dir.desc = Увімкніть, щоб зберігати все в одній директорії даних
|
@@ -916,7 +929,7 @@ text.context_menu.find = Знайти...
|
|
916
929
|
theme.dark = Темна
|
917
930
|
theme.light = Світла
|
918
931
|
tip.input.attachments = Тут ви можете додати вкладення до повідомлення, яке ви надсилаєте. Ви можете надіслати текстові файли, файли з кодом, PDF, документи, електронні таблиці та інші - вони будуть використані як додатковий контекст у розмові. Ви також можете надіслати зображення або знімки, зроблені за допомогою камери, для аналізу.
|
919
|
-
tip.input.attachments.ctx = Нижче наведено завантажені та
|
932
|
+
tip.input.attachments.ctx = Нижче наведено завантажені та індексовані вкладення, доступні для використання як додатковий контекст для всієї обговорюваної теми вище. Варіанти: Повний контекст - додає весь вміст з вкладення в запит, RAG - здійснює запит до індексованого вкладення для додаткового контексту, Резюме - включає резюме доданого вмісту в запит, Вимкнено - відключає додатковий контекст. **ПОПЕРЕДЖЕННЯ:** використання режиму повного контексту може використовувати багато токенів (оскільки сирий вміст із вкладення буде додано в запит)!
|
920
933
|
tip.input.attachments.uploaded = Тут є список файлів, завантажених на сервер у режимі Асистента. Ці файли розташовані на віддаленому сервері, а не на вашому локальному комп'ютері, тому модель може використовувати їх та аналізувати за допомогою інструментів, доступних ззовні на віддаленому сервері.
|
921
934
|
tip.output.tab.calendar = Використовуючи календар, ви можете повертатись до обраних розмов з певного дня. Натисніть на день у календарі, щоб обмежити відображення історії чату до цього дня. Ви також можете створювати денні нотатки та присвоювати їм кольорові мітки.
|
922
935
|
tip.output.tab.draw = Ви можете використовувати інструмент малювання для швидкого скетчингу або захоплення зображення з камери, а потім надсилати такі зображення ШІ у режимі Vision для аналізу. Ви можете захопити зображення за допомогою камери тут або відкрити зображення з диску. При використанні зображення, воно буде включене в наді слане повідомлення як вкладення.
|
@@ -687,6 +687,7 @@ menu.theme.dark = 深色主題...
|
|
687
687
|
menu.theme.density = 布局大小
|
688
688
|
menu.theme.light = 淺色主題...
|
689
689
|
menu.theme.settings = 設置...
|
690
|
+
menu.theme.style = 风格...
|
690
691
|
menu.theme.syntax = 代码语法高亮显示...
|
691
692
|
menu.theme.tooltips = 顯示工具提示
|
692
693
|
menu.tools = 工具
|
@@ -701,10 +702,10 @@ menu.tray.screenshot = 使用截圖提問...
|
|
701
702
|
menu.video = 視頻
|
702
703
|
menu.video.capture = 輸入:相機
|
703
704
|
menu.video.capture.auto = 自動捕捉
|
704
|
-
mode.agent =
|
705
|
+
mode.agent = 代理(自主)
|
705
706
|
mode.agent_llama = 代理(LlamaIndex)
|
706
707
|
mode.agent_llama.tooltip = 高级代理(LlamaIndex)
|
707
|
-
mode.agent.tooltip =
|
708
|
+
mode.agent.tooltip = 简单代理(自主)
|
708
709
|
mode.assistant = 助手
|
709
710
|
mode.assistant.tooltip = 使用助手API進行聊天
|
710
711
|
mode.audio = 语音聊天
|
@@ -784,7 +785,7 @@ preset.action.disable = 禁用
|
|
784
785
|
preset.action.duplicate= 複製
|
785
786
|
preset.action.edit= 編輯
|
786
787
|
preset.action.enable = 启用
|
787
|
-
preset.agent =
|
788
|
+
preset.agent = 代理(自主)
|
788
789
|
preset.agent_llama = 代理(LlamaIndex)
|
789
790
|
preset.agent_provider = 代理提供者
|
790
791
|
preset.agent_provider.desc = 为当前预设选择代理类型
|
@@ -854,6 +855,12 @@ settings.api_key = OpenAI API KEY
|
|
854
855
|
settings.api_key.desc = OpenAI API所需。如果您希望使用自定义终端或本地API,则可以在此输入任意值。
|
855
856
|
settings.app.env = 应用程序环境 (os.environ)
|
856
857
|
settings.app.env.desc = 在应用程序启动时要设置的额外环境变量
|
858
|
+
settings.audio.input.channels = 声道
|
859
|
+
settings.audio.input.channels.desc = 输入声道,默认: 1
|
860
|
+
settings.audio.input.device = 音频输入设备
|
861
|
+
settings.audio.input.device.desc = 选择用于麦克风输入的音频设备。
|
862
|
+
settings.audio.input.rate = 采样率
|
863
|
+
settings.audio.input.rate.desc = 采样率,默认: 44100
|
857
864
|
settings.check_updates = 啟動時檢查更新
|
858
865
|
settings.check_updates.bg = 在後台檢查更新
|
859
866
|
settings.cmd.field.desc = 启用 `{cmd}` 工具。
|
@@ -862,6 +869,10 @@ settings.cmd.field.instruction = 模型指令
|
|
862
869
|
settings.cmd.field.params = JSON 参数(工具参数)
|
863
870
|
settings.cmd.field.tooltip = 启用 `{cmd}` 工具
|
864
871
|
settings.context_threshold = 上下文閾值
|
872
|
+
settings.ctx.attachment.rag.history = 在RAG查询中使用历史记录
|
873
|
+
settings.ctx.attachment.rag.history.desc = 启用时,如果模式为RAG或摘要,整个对话的内容将在准备查询时使用。
|
874
|
+
settings.ctx.attachment.rag.history.max_items = RAG限制
|
875
|
+
settings.ctx.attachment.rag.history.max_items.desc = 仅在选中“在RAG查询中使用历史记录”选项时。指定在为RAG生成查询时将使用的最近会话条目的限制。0 = 无限制。
|
865
876
|
settings.ctx.audio = 总是显示音频图标
|
866
877
|
settings.ctx.auto_summary = 上下文自動摘要
|
867
878
|
settings.ctx.auto_summary.model = 用於自動摘要的模型
|
@@ -963,6 +974,7 @@ settings.render.plain = 在輸出中禁用markdown格式化(RAW純文本模式
|
|
963
974
|
settings.restart.required = 此選項生效需要重新啟動應用程序。
|
964
975
|
settings.section.access = 可访问性
|
965
976
|
settings.section.agent = 代理和专家
|
977
|
+
settings.section.audio = 音频
|
966
978
|
settings.section.ctx = 上下文
|
967
979
|
settings.section.developer = 開發者
|
968
980
|
settings.section.files = 文件和附件
|
@@ -982,6 +994,7 @@ settings.store_history = 存儲歷史記錄
|
|
982
994
|
settings.store_history_time = 在歷史記錄中存儲時間
|
983
995
|
settings.temperature = 溫度
|
984
996
|
settings.theme.markdown = 在聊天窗口中使用主題顏色
|
997
|
+
settings.theme.style = 风格 (聊天)
|
985
998
|
settings.top_p = Top-p
|
986
999
|
settings.upload.data_dir = 在data目錄中存儲圖像、捕獲和上傳
|
987
1000
|
settings.upload.data_dir.desc= 啟用以在單個data目錄中存儲所有內容
|
@@ -1032,7 +1045,7 @@ text.context_menu.find = 查找...
|
|
1032
1045
|
theme.dark = 暗色
|
1033
1046
|
theme.light = 亮色
|
1034
1047
|
tip.input.attachments = 在这里,您可以向正在发送的消息添加附件。 您可以发送文本文件、代码文件、PDF、文档、电子表格和其他文件 - 它们将用作对话中的附加上下文。 您还可以发送图像或从相机捕获的照片进行分析。
|
1035
|
-
tip.input.attachments.ctx =
|
1048
|
+
tip.input.attachments.ctx = 以下是上传和索引的附件,可用作上述整个讨论的附加上下文。选项:全文本上下文 - 将整个附件的内容附加到输入提示中,RAG - 查询索引的附件以获取额外的上下文,总结 - 在提示中包含添加内容的摘要,关闭 - 禁用附加上下文。**警告:** 使用全文本上下文模式可能会消耗大量的代币(因为附件的原始内容将附加到输入提示中)!
|
1036
1049
|
tip.input.attachments.uploaded = 這是已上傳到服務器的文件列表,在助手模式下。這些文件位於遠程服務器上,而不是您的本地計算機上,因此模型可以使用並分析外部遠程服務器上可用的工具。
|
1037
1050
|
tip.output.tab.calendar = 使用日曆,您可以導航回特定日期的選定對話。點擊日曆中的一天以限制聊天歷史顯示到該天。您還可以創建日記並為它們分配彩色標籤。
|
1038
1051
|
tip.output.tab.draw = 您可以使用繪圖工具進行快速素描或從相機捕獲圖像,然後將這些圖像發送到AI在視覺模式下進行分析。您可以在這裡使用相機捕獲圖像或從磁盤打開圖像。使用圖像時,它將作為附件包含在發送的消息中。
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# GitHub: https://github.com/szczyglis-dev/py-gpt #
|
7
7
|
# MIT License #
|
8
8
|
# Created By : Marcin Szczygliński #
|
9
|
-
# Updated Date: 2024.
|
9
|
+
# Updated Date: 2024.12.08 00:00:00 #
|
10
10
|
# ================================================== #
|
11
11
|
|
12
12
|
import pyaudio
|
@@ -84,11 +84,25 @@ class Simple:
|
|
84
84
|
self.timer.timeout.connect(self.stop_timeout)
|
85
85
|
self.timer.start(self.TIMEOUT_SECONDS * 1000)
|
86
86
|
|
87
|
+
# select audio input device
|
88
|
+
device_id = int(self.plugin.window.core.config.get('audio.input.device', 0))
|
89
|
+
rate = int(self.plugin.window.core.config.get('audio.input.rate', 44100))
|
90
|
+
channels = int(self.plugin.window.core.config.get('audio.input.channels', 1))
|
91
|
+
if not self.plugin.window.core.audio.is_device_compatible(device_id):
|
92
|
+
err = self.plugin.window.core.audio.get_last_error()
|
93
|
+
message = "Selected audio input device is not compatible. Please select another one. ERROR: " + str(err)
|
94
|
+
self.is_recording = False
|
95
|
+
self.plugin.window.core.debug.log(message)
|
96
|
+
self.plugin.window.ui.dialogs.alert(message)
|
97
|
+
self.switch_btn_start() # switch button to start
|
98
|
+
return
|
99
|
+
|
87
100
|
self.p = pyaudio.PyAudio()
|
88
101
|
self.stream = self.p.open(format=pyaudio.paInt16,
|
89
|
-
channels=
|
90
|
-
rate=
|
102
|
+
channels=channels,
|
103
|
+
rate=rate,
|
91
104
|
input=True,
|
105
|
+
input_device_index=device_id,
|
92
106
|
frames_per_buffer=1024,
|
93
107
|
stream_callback=callback)
|
94
108
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# GitHub: https://github.com/szczyglis-dev/py-gpt #
|
7
7
|
# MIT License #
|
8
8
|
# Created By : Marcin Szczygliński #
|
9
|
-
# Updated Date: 2024.11.
|
9
|
+
# Updated Date: 2024.11.29 23:00:00 #
|
10
10
|
# ================================================== #
|
11
11
|
|
12
12
|
import json
|
@@ -71,7 +71,7 @@ class Plugin(BasePlugin):
|
|
71
71
|
if "mode" in data:
|
72
72
|
self.mode = data['mode']
|
73
73
|
|
74
|
-
elif name == Event.
|
74
|
+
elif name == Event.POST_PROMPT_END:
|
75
75
|
if self.mode in self.ignored_modes: # ignore
|
76
76
|
return
|
77
77
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# GitHub: https://github.com/szczyglis-dev/py-gpt #
|
7
7
|
# MIT License #
|
8
8
|
# Created By : Marcin Szczygliński #
|
9
|
-
# Updated Date: 2024.11.
|
9
|
+
# Updated Date: 2024.11.29 23:00:00 #
|
10
10
|
# ================================================== #
|
11
11
|
|
12
12
|
from datetime import datetime
|
@@ -50,7 +50,7 @@ class Plugin(BasePlugin):
|
|
50
50
|
data = event.data
|
51
51
|
ctx = event.ctx
|
52
52
|
|
53
|
-
if name == Event.
|
53
|
+
if name == Event.POST_PROMPT_END:
|
54
54
|
silent = False
|
55
55
|
if 'silent' in data and data['silent']:
|
56
56
|
silent = True
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# GitHub: https://github.com/szczyglis-dev/py-gpt #
|
7
7
|
# MIT License #
|
8
8
|
# Created By : Marcin Szczygliński #
|
9
|
-
# Updated Date: 2024.
|
9
|
+
# Updated Date: 2024.12.07 21:00:00 #
|
10
10
|
# ================================================== #
|
11
11
|
|
12
12
|
import copy
|
@@ -1723,6 +1723,31 @@ class Patch:
|
|
1723
1723
|
data["ctx.edit_icons"] = True
|
1724
1724
|
updated = True
|
1725
1725
|
|
1726
|
+
# < 2.4.37
|
1727
|
+
if old < parse_version("2.4.37"):
|
1728
|
+
print("Migrating config from < 2.4.37...")
|
1729
|
+
if 'ctx.attachment.rag.history' not in data:
|
1730
|
+
data["ctx.attachment.rag.history"] = self.window.core.config.get_base(
|
1731
|
+
'ctx.attachment.rag.history')
|
1732
|
+
if 'ctx.attachment.rag.history.max_items' not in data:
|
1733
|
+
data["ctx.attachment.rag.history.max_items"] = self.window.core.config.get_base(
|
1734
|
+
'ctx.attachment.rag.history.max_items')
|
1735
|
+
updated = True
|
1736
|
+
|
1737
|
+
# < 2.4.38
|
1738
|
+
if old < parse_version("2.4.38"):
|
1739
|
+
print("Migrating config from < 2.4.38...")
|
1740
|
+
if 'theme.style' not in data:
|
1741
|
+
data["theme.style"] = "blocks"
|
1742
|
+
if 'audio.input.device' not in data:
|
1743
|
+
data["audio.input.device"] = "0"
|
1744
|
+
if 'audio.input.channels' not in data:
|
1745
|
+
data["audio.input.channels"] = 1
|
1746
|
+
if 'audio.input.rate' not in data:
|
1747
|
+
data["audio.input.rate"] = 44100
|
1748
|
+
self.window.core.updater.patch_css('style.light.css', True) # force update
|
1749
|
+
updated = True
|
1750
|
+
|
1726
1751
|
# update file
|
1727
1752
|
migrated = False
|
1728
1753
|
if updated:
|
pygpt_net/ui/menu/config.py
CHANGED
@@ -6,9 +6,11 @@
|
|
6
6
|
# GitHub: https://github.com/szczyglis-dev/py-gpt #
|
7
7
|
# MIT License #
|
8
8
|
# Created By : Marcin Szczygliński #
|
9
|
-
# Updated Date: 2024.
|
9
|
+
# Updated Date: 2024.12.07 21:00:00 #
|
10
10
|
# ================================================== #
|
11
11
|
|
12
|
+
import os
|
13
|
+
|
12
14
|
from PySide6.QtGui import QAction, QIcon
|
13
15
|
from PySide6.QtWidgets import QMenu
|
14
16
|
|
@@ -42,16 +44,10 @@ class Config:
|
|
42
44
|
self.window.ui.menu['config.access'] = QAction(QIcon(":/icons/accessibility.svg"),
|
43
45
|
trans("menu.config.access"), self.window)
|
44
46
|
|
45
|
-
|
46
|
-
css_files.
|
47
|
-
css_files.
|
48
|
-
css_files
|
49
|
-
css_files.append("markdown.css")
|
50
|
-
css_files.append("markdown.dark.css")
|
51
|
-
css_files.append("markdown.light.css")
|
52
|
-
css_files.append("web.css")
|
53
|
-
css_files.append("web.dark.css")
|
54
|
-
css_files.append("web.light.css")
|
47
|
+
css_dir = os.path.join(self.window.core.config.path, 'css')
|
48
|
+
css_files = os.listdir(css_dir)
|
49
|
+
css_files = [f for f in css_files if not f.endswith('.backup')] # remove .backup files
|
50
|
+
css_files = sorted(css_files) # sort by name
|
55
51
|
|
56
52
|
json_files = []
|
57
53
|
json_files.append("attachments.json")
|