Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composum Nodes now requires Guava #323

Closed
rombert opened this issue Feb 26, 2024 · 7 comments · Fixed by #324
Closed

Composum Nodes now requires Guava #323

rombert opened this issue Feb 26, 2024 · 7 comments · Fixed by #324
Assignees

Comments

@rombert
Copy link
Contributor

rombert commented Feb 26, 2024

Hi,

I tried to update the Sling Starter to use the latest 4.3.0 version Composum Nodes but got this error instead

[ERROR] [bundle-packages] com.composum.nodes:composum-nodes-console:4.3.0: Bundle is importing package com.google.common.collect with start order 20 but no bundle is exporting these for that start order.

We have stopped using Guava in the Sling Starter since the versioning story is quite complicated and makes upgrading very difficult.

Could this dependency on Guava be removed or made optional?

@stoerr
Copy link
Member

stoerr commented Feb 26, 2024

Sure, no problem, I'll see that I can remove it as soon as possible. Thanks for the report!

@rombert
Copy link
Contributor Author

rombert commented Feb 29, 2024

Sounds good, thanks @stoerr !

@stoerr
Copy link
Member

stoerr commented Mar 21, 2024

@rombert : Done: the release https://github.com/ist-dresden/composum-nodes/releases/tag/composum-nodes-4.3.1 removes guava and includes some nice features as well. :-)

@rombert
Copy link
Contributor Author

rombert commented Mar 21, 2024

Thanks @stoerr ! I've updated the Sling Starter to the latest version just now. The OpenAI part looks interesting, does it bring good results in your experience?

@stoerr
Copy link
Member

stoerr commented Mar 22, 2024

@rombert Thank you! Well, gpt-3.5-turbo isn't really good enough for that, but I've been trying that with gpt-4-turbo-preview and the results usually worked nicely. So if none of the templates match, that is certainly worth a shot for queries you can't write from the top of your head.

I guess I should add Anthropic's Claude as a second backend option, though, because you can currently get free evaluation access to even their best model, while I've just noticed there are even some hurdles to get to OpenAI's gpt-4 even for a paying new customer. :-/ But all in all yes, I think it is certainly worth it.

Did you try AI some LLM stuff yourself? I'm all over that for quite a while now, doing https://ist-dresden.github.io/composum-AI/ and quite a couple of sparetime projects https://www.stoerr.net/ai in the last year. That's so much fun and such a speed up. :-) It moved the amount and level of stuff I can do quite a lot upward, because writing code is just so much easier and quicker.

@rombert
Copy link
Contributor Author

rombert commented Mar 22, 2024

I did not do too much with GenAI so far, I am trying to figure out where it is applicable. And seeing both productive and spare-time projects is very useful.

One thing which you could consider is making the OpenAI API endpoint configurable. It is possible to run different LLMs using Ollama and expose an OpenAI-compatible REST API - https://github.com/ollama/ollama/blob/main/docs/openai.md . Having it configurable in Composum would make it possible to use local LLMs. Of course, there is no guaratee that the results are comparable with GPT-4, but at least it's a start :-)

@stoerr
Copy link
Member

stoerr commented Mar 24, 2024

@rombert Right. I tried a little with LM Studio but the queries that came out of the models I tried weren't exactly useful. No surprise there, as even GPT-3.5 is not quite good enough. :-) But I'll put that in, and at least Claude would certainly be a suitable option.

Well, if you don't have that already, I'd very much suggest getting Github Copilot or something similar. I cannot really put numbers on it, but it feels like depending on what you're doing that can easily double your coding speed. And there is a nice ChatGPT like chat that can also improve the thinking time once in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants