therandomcoypu

joined 1 week ago
[–] therandomcoypu 1 points 2 days ago

That code works fine now.. thank you for your help with that. That said, i cant get a print preview and my printer wont respond if i select all and try to print the selection, but that is not the code, so much as my browser/printer setup i think.

[–] therandomcoypu 1 points 2 days ago

Ahh sorry for the confusion, i thought it was like a drop in to the main core code, not at a specific character level. I will try again. Thank you for the link to the guide.

[–] therandomcoypu 1 points 4 days ago (3 children)

Hey there, so i tried adding in the print out code, into the ai-character-chat session i had going as a test.. no luck so far, it flagged up a parse error related to this line : let images = [...content.matchAll(/(.+?)</image>/gm)] I had a quick look on StackOverflow, and saw one potential solution mentioned to add in a line which tells it what paser to use: E.G "parser": "@babel/eslint-parser" ~ that had no effect, and of course that will be entirely dependant on what is actually being used, or is available to use, which i do not currently know. Is your print code from an earlier time, where the parse error was not flagged up ? E.G Did they update the core code to depreciate older methods of coding?

As i say, please forgive any ignorance on my part, i was dropping the code into the base of area 1, a bit like adding a new function into a pre-exisiting file in php for example. (Please see attached image for reference of where i was adding code ~ should i have been using a different area?) Or am i misunderstanding the code you have written and should be making an offset generator (although i am unsure if i could import that into the ai-character-chat generator?)

Thank you for your help, it is very much appreciated, once i get my bearings i should be fine lol.. hopefully :D

[–] therandomcoypu 1 points 4 days ago

Very cool! Thank you, i will give this a go 👍

 

Is there anything that i can use to output the ai-character-chat content into a nice formatted layout that will allow for an easy printout? (im sending to .pdf) It drops out content and ive been using cut/copy/paste into a word document to try and clean up later.. but it's a headache. Thank you for any advice 🙂 👍

[–] therandomcoypu 2 points 1 week ago

Ahh o.k thank you for pointing me in the direction of OpenCharacters.. that give me a bit of hope is i can make something at least partly similar or at least useful. The Main Perchant version is excellent and i could compose stuff all day. The AI response creating a real drive and enjoyment when working with it. I guess at one level i am scared it would vanish one day and after trying for such a long to time to find such a cool thing, i want to help perserve it, if that makes any sense. Hopefully it's future is looking great though, adapting and upgrading with new things over time. I would be happy to pay a subscritption fee to aid support, if it comes to that sort of support being required. 👍

 

Hi, please excuse my noob status.

Im looking at the viability of trying to run the AI Text Plugin locally, or one of the servers i have access to. In a non public context as an aid to fantasy story development.

I have seen the pages for the AI Text Plugin, the true one, and the forked version. Although their details are quite comprehensive i have yet to find or understand a clarity to the potential use of the plugin in an independant context.

So, to quote:

This plugin allows you generate text with AI. It uses a Llama-based AI model. It doesn't run on your actual device like other Perchance plugins because it requires too much computational power (and would require a many-gigabyte download), so it runs on server GPUs, which means it costs me money to run. For that reason, this plugin is funded with ads, so an ad will appear on your generator for non-logged-in users if you import this plugin. The ad will appear at the bottom of the screen like this. The ad will go away if you remove the plugin, of course.

To use this plugin, you'll first need to import it by adding this line to your lists editor:

So, is the Llama-based AI model something i can obtain ? Is it a specific model (which one)?

I understand all the aspects of high gig download, GPUs (needs GPU on text output? Im not really after the image gen, its the text ai i am interested in setting up locally, the character gen and output as available here: https://perchance.org/ai-character-chat (minus the image aspect)), cost and money to run, therefore ads.. absolutely i fully get and sympathise with that, server fees can be very expensive and high etc.

So it then goes on to importing in via lists editor.. im not entirely sure of the context, im assuming that is an accessible element (here via my account?) to play about with plugin ai's to create different generators? Or something i need to install locally to work with? *As i say please excuse what might seem a stupid question, im used to a different background of working, but have coding and server skills etc.

It seems a bit of a headache to try to recreate something already created, if i can download the elements i need to replicate and hybridise locally.. reduced right down if the image ai element is unused i assume?

Thank you for any help and advice! 👍