Sim2K
Forum Replies Created
-
Any updates?
The error I get is ‘Error occured.please try again’ in a JS popup, but the transfer took place on Stripe.
It shows these as failed:transfer.created 01:30:18
payment_intent.created 01:29:48
payment_intent.succeeded 01:29:23
charge.succeeded 01:28:44
So this is the error stated on Stripe for each of the 4 options:Response
HTTP status code
302 (Found)
No response bodyYou guys have a great plugin, but the setup instructions for the plugin CashCred are so out of date. Please help me out, I am setting this up for a customer. Most of the work is done, apart from this Plugin.
You say on the cashCred Payment Gateways:
Enter ‘Stripe Sandbox Client Id’ of your stripe account (for live environment you need to enter ‘live Stripe Client Id’)- Enter ‘Stripe Sandbox Secret key’ of your stripe account (for live environment you need to enter ‘live secret key’)
But you don’t say where to get it from. I went to https://dashboard.stripe.com/test/settings/connect/onboarding-options/oauth and got it from there for the ‘Test mode client ID’ and ‘LIVE mode client ID’ details. When I used that, the user could connect their Stripe account, which is not in your instructions. Now where do I get the ‘Stripe Sandbox Secret Key’ from? What page on Stripe do I need to go to to get these details? Ive gone here, https://dashboard.stripe.com/test/apikeys, and used the secret key but I am still getting the error when someone wants to cash out their points so I am sure if this is correct as you have not stated this in your instructions.
I added the webhooks ‘https://WebSite.com?cashcred_stripe=yes’ but you have not stated what events to accept so Ive had to accept all which is not good.
On his site, users can cash out their Creds for USD, the transaction goes through to to b approved. When approved, the transaction goes through to stripe and the money gets transferred to the users connect account, but the website registers an error.
If there is insufficient funds, it registers that and tells me that, that works, but as soon as there is enough funds, the request is sent, Stripe does the transaction correctly, but it is recorded as an error on the website side and no Points are deducted and the request stays at is, as pending.This is all in test mode but that shouldn’t make a difference.
Can I get a set of up-to-date instructions pls? Pls help.
Thats good!
1 more question, can I change the fee percent per user type? I have multiple user types on my site and I want to charge a different fee per user type, for example, a subscriber and a contributer, I want to charge them different withdrawal fees.
Does the user need a stripe account to be able to make a withdrawal request? If so do they need to connect their account to mine or the user just having a stripe account is enough?
I need each user to have a link like this ..
http://www.AI4UEvents.com/e/1234567
This would be unique to the user and their event and their namespace
Plus I want to make an app from this later allowing users to question an event in detail but from an app.
Yes, each user will have it s own knowledge base, and individual namespaces will solve all this. I don’t want to create a multiple instances as that would be an overkill for what I’m trying to do.
I hope to have 1000’s of individual events on the site and a chatbot for each event.
Maybe in the future I can somehow check the content length of a post to decide if it requires embeddings or just an automatic feed of the context at every load.Hi Jordy
The events could be a small Birthday party for 10 people or a huge corporate event for 10,000 people over 3 days with 100 workshops. One could easily fit in a post, one would be a huge amount of data over multiple embeddings as its context would be to much for the prompt and completion.
The main important thing is for me is for the answers people get when talking to ChatGPT are not mixed up with someone else’s event, even though there might be similar events in the embeddings, especially if its a big event which has a huge amount of data so it has to be an embedding. This is why I need dynamic namespaces created so I can put a whole event inside a namespace and search within that namespace only, plus its cheaper than using many indexes.
Basically, a custom post type can be setup to put all post contents into one Namespace, a default namespace that holds everything, maybe just site general data.
But another separate custom post type can be used in the way I described above.
- This reply was modified 3 years ago by Sim2K.
Hi, thanks for the response which is why I do like this plugin as the owner, you, actually care about your plugin and its users.
Ok, here is the scenario. My site is going to be about events, a chat bot based on any type of event for anybody, any where, in any language.- The user registers on my site (Thats where the UserID comes from)
- The user uploads details about their event through a form creating a post in a custom post type. Each event will be a Category or a name of the event or an event ID.
- When that post is created, it is dumped into Pinecone as an embedding automatically.
- Now the embedding namespace would look like this… DataSite_UsersID_UsersEventID for example EventSiteName_125_Event451 or wwwEventSiteCom_BigJohn_QuizNight
These namespaces can be dynamically created based on the site name, user ID and post ID easily and the namespace can be deleted as soon as the event is done or post is deleted. (If a post of a certain custom post type is deleted, dynamically create the namespace and see if it exists, if so, delete it from Pinecone). - Now say Big John is running 2 separate quiz nights, he can have 2 separate chatbots for each event and each question won’t get mixed up with both events as there will be 2 separate embeddings which will not conflict with each other.
The problem is this, if I have multiple events on one website, with embeddings created for each event as a post, all these similar embeddings under the same namespace cannot work. With separate name spaces for each event, this can work amazingly! I checked with Pinecone, you can have unlimited namespaces so this in theory can most definitely work.
- This reply was modified 3 years ago by Sim2K.
Have you got post creation from the front end using this plugin? Can you share the video you watched? I want to be able to create posts from the front end using this plugin without having to go back end.
How’s this going? This will make a huge difference to my project. Do you think this will happen?
Other responses against smaller embeddings brought back data ok.
Maybe I need to really break it down into chunks as I’m sure a response of 4096 tokens is going to be expensive even if I do get a proper response.
I wonder if I can just get a response by itself, no embedding+completion, just completion, would that help?So I got some data into Pinecone, and one embedding was 6500 words (38,709 char). That went in OK but when ever I asked a question based on an answer in that embedding, I got this response…
“This model's maximum context length is 4096 tokens. However, your messages resulted in 5941 tokens. Please reduce the length of the messages.”
There’s been a new update and its now fixed. Thanks.
Does anyone know the answer to any of these? I might just try them all out but I don’t want to break anything.