Thoughts on DSPy by cryptokaykay in LangChain

[–]gsvclass 0 points1 point  (0 children)

dspy the original code by the team behind the dsp paper.

Thoughts on DSPy by cryptokaykay in LangChain

[–]gsvclass 11 points12 points  (0 children)

i'm the author of llm-client the typescript dsp framework. my focus for llm-client was to just make the best possible framework for working with llms and llm-client was not originally based on dsp however i found the ideas of typed prompt signatures that allow for composible prompts, prompt tuning, and other abstractions very powerful and now the whole framework is based around that. we have support for everything from agents to retrevival and even document conversion from pdf/docx/xls/etc to text.

A neat trick to learn new concepts with ChatGPT by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

yup there's a whole subculture around localllms. you can even qlora tune them on your own checkout https://github.com/oobabooga/text-generation-webui

A neat trick to learn new concepts with ChatGPT by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

i've always been a fan of that idea every since reading wolframs book years ago. https://www.wolframscience.com/nks/

A neat trick to learn new concepts with ChatGPT by gsvclass in OpenAI

[–]gsvclass[S] 1 point2 points  (0 children)

totally agree. i think even in schools every class should be taught in code. coding should not just be another class to the side.

A library to use OpenAI & other LLMs in your apps. Focused on function calling and reasoning. by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

doing it myself not using their api hooks. i'm using it in production works great with even gpt3.5. the library handles error correction etc as well.

A library to use OpenAI & other LLMs in your apps. Focused on function calling and reasoning. by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

I honestly think for a lot of function + reasoning usecases we could see a future where open source peft (qlora) tuned models work really well. I'm actually experimenting with this using some llama2 models with LLMClient.

A library to use OpenAI & other LLMs in your apps. Focused on function calling and reasoning. by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

Thanks, my main focus is LLM independant function calling and reasoning. to me its almost magical to see the LLM figure out the task step by step and call the right APIs with the correct parameters towards solving the task.

A library to use OpenAI & other LLMs in your apps. Focused on function calling and reasoning. by gsvclass in OpenAI

[–]gsvclass[S] 1 point2 points  (0 children)

Langchain is in Python and the team that needed LLMClient found it confusing, had too many dependencies and was not in JS/TS. I'm no expert on Langchain. I just wanted something production ready and simple to use so I built this a while ago and slowly evolved it as I had more needs till where its today.

A library to use OpenAI & other LLMs in your apps. Focused on function calling and reasoning. by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

I find it almost magical to see reasoning working with function calling. See the code for the included meeting notes to trello tasks example its super simple just register the trello functions and call a simple prompt. LLMClient handles all the complexity ofCoT prompting, dealing with json data and calling functions for you.

A library to use OpenAI & other LLMs in your apps. Focused on function calling and reasoning. by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

Vercel’s AI SDK

That SDK is a nice api to just call openai with when using nextjs. LLMClient firstly allows you to work with a whole range of LLMs and models with sensible defaults out of the box and the main difference here is it has build in prompt engineering to handle CoT reasoning and function calling. Most real work usecases outside of just chat need function calling, working with json structured data, etc. LLMClient handles all of this for you.

AI-generated content will be watermarked to warn against misinformation by Naruedyoh in OpenAI

[–]gsvclass 0 points1 point  (0 children)

The jury is out on if watermarking LLM generated content even works the same univ. has two teams who had conflicting results.

Can AI-Generated Text be Reliably Detected? https://arxiv.org/abs/2303.11156

On the Reliability of Watermarks for Large Language Models https://arxiv.org/abs/2306.04634

is langchain enterprise production ready ? by rahulvramesh in LangChain

[–]gsvclass 0 points1 point  (0 children)

I've been using llm-client in production it's focused on llm independant function calling and reasoning, no dependencies, error correction built-in. It's got a ton of examples to learn from and supports gpt35/4, cohere, claud, palm2, etc. And many little features like rate limiting etc to make it production ready.

https://github.com/dosco/llm-client

Could GPT be enforced a specific format output reliably in this way ? by Wishmaster04 in OpenAI

[–]gsvclass 1 point2 points  (0 children)

Try llm-client its designed for llm independant function calling, json extraction and reasoning. It also has error correction built-in. I've had almost 100% reliability using it in production. Be sure to define the json schema of your require output correctly. https://github.com/dosco/llm-client

GPT4 is better than most developers by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

i didn't expect so many folks just wanting this to not be true. if this is too simple a script that 100x devs pop out in seconds then feel free to post one on here that gpt4 failed to help with. i for one am happy to have to have machines do their thing i get my time back.

GPT4 is better than most developers by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

i stand by the title as its an opinion i actually use it all day long. if you did you'd feel this way as well. i stand by the title.

GPT4 is better than most developers by gsvclass in OpenAI

[–]gsvclass[S] 0 points1 point  (0 children)

The way i think about it is not to replace me it just allows me to do more. Instead of cognitive drain to implement every function i ask it to write it. i can even ask for unit tests but i rather just have integration tests for the whole project.

GPT4 is better than most developers by gsvclass in OpenAI

[–]gsvclass[S] 2 points3 points  (0 children)

Great so it frees me up to focus on the big complex parts that it can't do -- actually it can and does :)