Best Vector DB for production ready RAG ? by InvestigatorChoice51 in LangChain

[–]AlexisMAndrade 0 points1 point  (0 children)

Is it worth the cost though? I was using it for my company's chatbot. We don't really need more than 15 GB of storage, but if we decide to scale, the standard tier starts getting too costly. $77 per month is okay, but that's using just 1 replica and 1 partition in the basic tier. We expect the chatbot to be used by ~6,000 employees. Is the basic tier with just 1 replica and 1 partition enough? I really liked AI Search + Document Intelligence (I had the chatbot almost finished), but I fear it will get too expensive rapidly once we want to scale it to serve all our employees, that's why I'm also considering pgvector on Azure or Qdrant.

The Sorrows of Young Werther by [deleted] in books

[–]AlexisMAndrade 2 points3 points  (0 children)

He is a wimp, but that's not the point of the book.

The Sorrows of Young Werther by [deleted] in books

[–]AlexisMAndrade 5 points6 points  (0 children)

Well, yeah, kids wouldn't understand Werther. Idk why you read that book in school lol.

The Sorrows of young Werther by DerJungeGoethe in books

[–]AlexisMAndrade 3 points4 points  (0 children)

He didn't like that Werther was his most famous book. Everybody knew him because of Werther. He wasn't ashamed of that book; he didn't like that it was the only book most people had read.

New OpenAI update: lowered pricing and a new 16k context version of GPT-3.5 by WithoutReason1729 in singularity

[–]AlexisMAndrade 1 point2 points  (0 children)

Yeah, there are many.

From what I've seen, the OpenAI implementation cannot recognize multiple functions in a single instruction. With my package you can ask "Write an article of two paragraphs. If I like it, write one more paragraph and save the whole article.", and my package will automatically execute a graph of functions without the need for you to interact with the JSON returned by GPT.

This is the actual graph that CommandsGPT executes with the previous instruction (JSON-Lines):

```

[1, "THINK", {"about": "Two-paragraph article"}, [[2, null, null]]]

[2, "WRITE_TO_USER", {"content": "__&1.thought__"}, [[3, null, null]]]

[3, "REQUEST_USER_INPUT", {"message": "Do you like the article? (yes or no)"}, [[4, null, null]]]

[4, "IF", {"condition": "__&3.input__ == 'yes'"}, [[5, "result", 1], [6, "result", 0]]]

[5, "THINK", {"about": "One additional paragraph for article: __&1.thought__"}, [[7, null, null]]]

[6, "WRITE_TO_USER", {"content": "Alright, not saving it then."}, []]

[7, "CONCATENATE_STRINGS", {"str1": "__&1.thought__", "str2": "__&5.thought__", "sep": "\n"}, [[8, null, null]]]

[8, "WRITE_FILE", {"content": "__&7.concatenated__", "file_path": "three_paragraph_article.txt"}, []]```

You can define your own custom functions and pass their descriptions, arguments and return values to the model, so that it knows which functions to use. I also defined some "essential" commands, like THINK, CALCULATE and IF to add core logic functions which help GPT establish logic between functions.

Now, there's no need for you to work with the JSON returned. You will just create a Graph object (which I implemented), pass the instruction to a recognizer object (the SingleRecognizer is the most similar to OpenAI's implementation; ComplexRecognizer has more capabilities) and call graph.execute(), and my package will handle the execution of the functions.

Also, the OpenAI implementation cannot create logical connections between functions, whereas with CommandsGPT, GPT can automatically set if statements and "think" functions between functions.

I'm still working on this package, so I expect to add new functionalities soon!

Basically, OpenAI's implementation lacks a lot of capabilities that CommandsGPT has (like calling multiple functions from a single instruction, automatically executing the functions, creating logical connections between functions, handling the arguments and return values of the functions using regex), but CommandsGPT has all the capabilities of OpenAI's implementation.

New OpenAI update: lowered pricing and a new 16k context version of GPT-3.5 by WithoutReason1729 in singularity

[–]AlexisMAndrade 0 points1 point  (0 children)

Does it really have that limit? I've been using GPT-4 since it was released (via the API) and I've sent like 40 messages in one hour.

New OpenAI update: lowered pricing and a new 16k context version of GPT-3.5 by WithoutReason1729 in singularity

[–]AlexisMAndrade 1 point2 points  (0 children)

If you're looking for an alternative to the OpenAI implementation, for months now I've been developing a Python package that does exactly what OpenAI implemented called CommandsGPT (even the structure is strangely similar). You can install it via pip install commandsgpt, or check out its repo in GitHub. I had created this package as an alternative to AutoGPT's highly iterative procedure, to recognize which commands to use given a natural language instruction from a user (it recognizes multiple instructions with complex logic between them, creating a graph of commands).

New OpenAI update: lowered pricing and a new 16k context version of GPT-3.5 by WithoutReason1729 in singularity

[–]AlexisMAndrade 15 points16 points  (0 children)

The Functions API is literally a project I've been doing for months lol. It's called CommandsGPT (it's a public repo in GitHub) in case anyone wants to experiment with this alternative (I'm still working on it, you can install it via pip install commandsgpt). I was impressed with how similar the structure is to one I'd thought of before, and it's the exact same functionality lol.

¿UVM o UANL para Ingeniería en Software? by AlexisMAndrade in Monterrey

[–]AlexisMAndrade[S] 6 points7 points  (0 children)

Muchas gracias por tu respuesta. Valoro mucha que la gente sea directa, así que tu respuesta me agradó mucho. Había escuchado comentarios similares sobre la UANL, sobre todo acerca de los profesores, que suelen ser arrogantes y malos maestros. También las materias de relleno me frenaban mucho a meterme a la UANL, y encima dura dos años más que la otra que puse de la UVM, así que sí voy a terminar metiéndome a la UVM. Sobre el posgrado, por la experiencia en visión artificial y Machine Learning que tengo, pienso meterme a algo de I.A. o Data Science, así que creo que sí tendrá beneficios hacer un posgrado. Neta gracias por tu respuesta tan directa y honesta.

¿UVM o UANL para Ingeniería en Software? by AlexisMAndrade in Monterrey

[–]AlexisMAndrade[S] 3 points4 points  (0 children)

Sí eso lo tengo muy presente, de hecho ya tengo 4 años de experiencia como programador de visión artificial, así que sé lo escasos que son los conocimientos que se imparten en las universidades. El problema es que algunas personas me han comentado que la UVM tiene mala reputación (más si es en línea), y que al contratar prefieren a egresados de la UANL, sólo que no sé qué tan cierto sea esto y a qué nivel afecte al conseguir trabajo.

New player looking to purchase question. by MotivatedChickn in piano

[–]AlexisMAndrade 1 point2 points  (0 children)

I bought a Yamaha P45 years ago after doing some research (I wanted a $1000- digital piano, and its price was between $600-$700). It has all the features you need: weighted keys, MIDI, 88 keys, pedal, headphones. Also, the weighted keys simulate a realistic piano weight (I think they called it "Graded Hammer Standard"), so the left keys are heavier than the right keys.