#python#ai#ai_chat#chatgpt#enterprise_search#gen_ai#information_retrieval#llm#llm_ui#nextjs#python#rag
Onyx is an open-source AI platform that lets you easily create and use custom AI chat agents with any large language model (LLM). It supports advanced features like web search, document search, code execution, and connecting to over 40 apps, all while keeping your data secure and private. You can deploy it quickly on your own servers or cloud, making it great for individuals or large teams. Onyx helps you get accurate, reliable answers from your own knowledge and automates tasks, improving productivity and collaboration in your work. It’s flexible, secure, and free to start with.
https://github.com/onyx-dot-app/onyx
# The standard string repr for dicts is hard to read:
»> my_mapping = {'a': 23, 'b': 42, 'c': 0xc0ffee}
»> my_mapping
{'b': 42, 'c': 12648430. 'a': 23} # 😞
# The "#json" module can do a much better job:
»> import json
»> print(json.dumps(my_mapping, indent=4, sort_keys=True))
{
"a": 23,
"b": 42,
"c": 12648430
}
# Note this only works with dicts containing
# primitive types (check out the "pprint" module):
»> json.dumps({all: 'yup'})
TypeError: keys must be a string
История(12м) как в Альфа-Банке сокращали размер JSON файла, который передается на устройство для работы SDUI. Решением стала шаблонизация для отказа от одинаковых блоков UI с разными данными
#оптимизация#json
¿Que puede hacer este bot?
@apimaniaBot
Con éste bot puedes crear PDF a partir de páginas web, convertir texto a imágenes, convertir tablas HTML a json y mucho más
Idioma: español
(Visto en @botsgram_cu)
#pdf#web#texto#imágenes#hrml#json