ruby-openai
ControlNet
ruby-openai | ControlNet | |
---|---|---|
12 | 127 | |
2,429 | 27,964 | |
- | - | |
9.5 | 4.1 | |
5 days ago | 2 months ago | |
Ruby | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ruby-openai
-
tiktoken_ruby VS ruby-openai - a user suggested alternative
2 projects | 3 May 2024
If you are using Open AI's API, this tokenizer is more accurate than the one coming with `ruby-openai` gem.
-
ruby and ML/AI chatgpt
ruby-openai
-
Building an app around a LLM, Rails + Python or just Python?
If you can just interact with OpenAI api directly without langchain then that eliminates need for python. Here’s a gem for interacting with the OpenAI api : https://github.com/alexrudall/ruby-openai
- Use OpenAI embeddings with Rails?
-
I need help building a Chatbot using Openai Chatgpt API
There is a gem developed by Alex - https://github.com/alexrudall/ruby-openai.
-
Looking for self-hosted tools with OpenAI API support
I've been playing with ruby-openai, a Ruby gem (ie, library) that interfaces with the OpenAI API. I'm building myself a small movie-recommendation tool, just a personal need, as well as to teach myself how this stuff works. It's unlikely I'll ever build it into a proper app, as I'm okay with interacting in the shell and with text files, versus a web-based thing. But if there's interest, I'll push my tool up to Github.
-
Creating AI assistant with GPT and Ruby and Redis using embeddings
Can use https://github.com/alexrudall/ruby-openai to do this sort of thing also :)
- OpenAI API and Ruby Now with ChatGPT
-
ChatGPT and Whisper APIs
Added to the Ruby library here if any Rubyists interested! https://github.com/alexrudall/ruby-openai
- development around data and AI libraries in the Ruby world
ControlNet
-
With the recent developments, It looks like AI art is finally beginning to evolve in the right direction
It`s all possible. Have a look into Automatic1111`s Web UI, ControlNet, OpenPose and, if you don`t have a dedicated GPU with at least 8GB of VRAM, or at least 16GB of RAM to use the CPU, you can also use Stable Horde to use the webUI with a peer-to-peer connection, where you`ll only use a fraction of your resources, but you`ll be able to use local AI models with all the bells and whistles that you won`t get from "state-of-the-art" paid services.
-
AI "Artists" Are Lazy, and the Ultimate Goal of AI Image Generation (hint: its sloth)
Next up is ControlNet. Controlnet, as Illyasviel--creator of controlnet--describes it, "let's us control diffusion models!." ControlNet is a neural network structure to control diffusion models by adding extra connections. [8]. There is more to that than what I described, but the big take-away is that ControlNet takes a preprocessed image that you provide (or is generated) and uses that as a way of constraining the output the sampler's noise generates, allowing you to have a bit more control of the output. ControlNet is typically used for character or scene "artwork", which previously would have been a challenge with just prompting alone (at least with this current architecture).
- Making a ControlNet inpaint for sdxl
-
[P5V6P2] Mother and Daughter (by azfumi)
For your first part of the comment, I can simply refer you to technologies like ControlNet, LoRA and prompt embedding: https://github.com/lllyasviel/ControlNet https://github.com/microsoft/LoRA
- Calling yourself an AI artist is almost exactly the same as calling yourself a cook for heating readymade meals in a microwave
-
Why is the AI not listening to my prompts?
Here you can see what every controlnet preprocessor and model do, to give you an idea of how to use
-
Can't get img2img working well
Ya, it takes awhile to really start getting comfortable with the wonkiness. If you are trying to do something specific, look for a LoRA, but in general I'd recommend you get controlnet so you can feed it a reference image. Another simple trick is to edit the image a bit in GIMP or a photo editor to get the color scheme you like and then feed it back to img2img at low denoising (0.1-0.2) to refine it. You can also add just garishly bad cartoon drawing or photoshop in assets and img2img will usually make something of them and blend them into your image, I find this easier than using img2img scribble.
- ControlNet on A1111 seems to have been broken in the new update
-
Can anyone help me install SD and ControlNet on my Mac pro M1?
If there are no errors, go to the "Extensions" tab, then "Install from URL". There, enter "https://github.com/lllyasviel/ControlNet" then click "Install".
-
According to the poll on the recent thread, /r/dalle2 community decided to keep the subreddit restricted on Reddit.
This is a good place to start reading. Given the open-source nature of SD, there are setups of various difficulty available. A1111 is the "standard" people enjoy because it's easy to plug in new stuff (ControlNet, new models, etc.), but it's not inherently easy to set up and get going. There is an installer for it, but I haven't tried it.
What are some alternatives?
langchainrb - Build LLM-powered applications in Ruby
InvokeAI - InvokeAI is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.
chat-with-gpt - An open-source ChatGPT app with a voice
lora - Using Low-rank adaptation to quickly fine-tune diffusion models.
boxcars - Building applications with composability using Boxcars with LLM's. Inspired by LangChain.
LoRA - Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"
pycall.rb - Calling Python functions from the Ruby language
sd-webui-controlnet - WebUI extension for ControlNet
discourse-ai
stable-diffusion-webui-prompt-travel - Travel between prompts in the latent space to make pseudo-animation, extension script for AUTOMATIC1111/stable-diffusion-webui.
openai-python - The official Python library for the OpenAI API
stable-diffusion-webui - Stable Diffusion web UI