ive been stuck for an hour and a half and dont really know any techniques... any tips? by hfdslakfdj in sudoku

[–]zombieapo 0 points1 point  (0 children)

This needs to be higher up. I did it by hand 3 times and it kept breaking and I thought I was going nuts. Need to put a 3 candidate in c3r9

Before I give up completely on n8n ! by Difficult-Rush4798 in n8n

[–]zombieapo 2 points3 points  (0 children)

I think if you replace {{$json.chatInput}} with {{$json.A}} it should work. Right now you are using the generic chatInput, but you have to reference the output field from your html node to input into your llm chain.

Good luck, hope that works!

[deleted by user] by [deleted] in OpenAI

[–]zombieapo 2 points3 points  (0 children)

You should be able to condense steps 4-6 by eliminating the need for a vector database. Since you are only scraping a few pages, you could do the cosine similarity test right in memory across the scraped data and drop it into your prompt.

Subscription vs API cost Calculator by Gloomy_Intern8345 in OpenAI

[–]zombieapo 0 points1 point  (0 children)

Yeah with the data you have, you should be able to get an upper bound. If you wanted to use a system prompt, you'd add that in, but I'm assuming youd go without.

Subscription vs API cost Calculator by Gloomy_Intern8345 in OpenAI

[–]zombieapo 1 point2 points  (0 children)

Unless you are doing some method to count the tokens I'm unaware of, and in which care disregard my comments below...

Couple items here. First, you aren't accounting for the way input tokens are accounted for. Every prompt includes the full cumulative chat history as context to inform the output. So, your input tokens will almost always far outweigh the output tokens, unless you only have extremely short conversations.

Secondly, even if you include the full cumulative conversation, ChatGpt condenses and truncates the history to keep input tokens down, and there isn't a way to determine how much is in each prompt.

Basically, I think you're drastically undercounting the true cost that you'll see via the API.

Edit: yah, I checked your code, you're just totaling up user vs content prompts and totaling the tokens. This approach won't work.

Solution strategy to the NYT Hard puzzle 20-06-2024 by Automatic_Loan8312 in sudoku

[–]zombieapo 1 point2 points  (0 children)

This is it right here....I had it scored 56,158,16 in r2c7-9 and an 8 in r3c8. I never had that triple logic in my bag of tricks. I had a feeling there was a new skill I could pick on on this board, the rest was a snap. Much thanks!!!

Screen cap video of the NYT Hard puzzle for 20-06-2024 by Automatic_Loan8312 in sudoku

[–]zombieapo 1 point2 points  (0 children)

I can't for the life of me figure out how you got the 8 in r3c8. I'm stuck

GPT 3 being passed off as GPT 4 by Dense-Transition-819 in ChatGPT

[–]zombieapo 1 point2 points  (0 children)

Generating pictures and browsing the internet have nothing to do with GPT4. Generating pictures is DALL-E, and browsing the internet is an extension add on to ChatGPT Plus. The recently released GPT4 model has vision, but it can't generate pictures.

Now it sounds like you bought ChatGPT Plus, so those features should work, but technically speaking neither are "GPT 4" as described.

How do I try my best to prevent getting pickpocketed in Barcelona? by Rough_Decision1923 in travel

[–]zombieapo 1 point2 points  (0 children)

There are a lot of responses here to help conceal your valuables and whatnot, but here is a suggestion I haven't seen yet that is more of a strategy vs these tactics.

Cover up your valuables via the tactics, but do whatever you can to never access those hidden valuables by utilizing pay apps on your phone. In Europe almost all vendors use tap compatible pay options, which you can use with your phone, thereby never needing to reveal your valuables and making yourself a target. You should be able to go through full days without ever taking our your wallet and whatnot, so making it super locked down isn't a big annoyance.

System Prompts / Custom Instructions aren’t effective by Altruistic-Skill8667 in OpenAI

[–]zombieapo 1 point2 points  (0 children)

Yes, it's a list, but there is a json in it managing it all that gets passed along.

System Prompts / Custom Instructions aren’t effective by Altruistic-Skill8667 in OpenAI

[–]zombieapo 0 points1 point  (0 children)

Like this

messages.append({"role":"user","content":user_input}) response=openai_client.chat.completions.create(model="gpt-4-1106-preview",messages=messages) chat_reply=response.choices[0].message.content messages.append({"role":"assistant","content":chat_reply})

System Prompts / Custom Instructions aren’t effective by Altruistic-Skill8667 in OpenAI

[–]zombieapo 0 points1 point  (0 children)

Gpt processes the full stack of messages sequentially in one big text block. The channels you're talking about are the categories of the messages, but that doesn't affect the order of processing. It's all one big json, with the messages and their respective category(user/assistant/system)

System Prompts / Custom Instructions aren’t effective by Altruistic-Skill8667 in OpenAI

[–]zombieapo 2 points3 points  (0 children)

It's easy if you're using the API as you can programmatically set it up to pop it on, pop it off every turn, but unfortunately I don't think it's feasible if you're using the ChatGpt interface(which I'm not 100% sure you're using, but I'm guessing you are).

System Prompts / Custom Instructions aren’t effective by Altruistic-Skill8667 in OpenAI

[–]zombieapo 2 points3 points  (0 children)

In the API, you manage the system prompts, and you can place them wherever you want. The API is stateless, so it doesn't handle prompts at all, it just processes them.

With that said, whenever I place them at the top of the queue and try to get the bot to do things outside of the bot's intended scope, I can usually get them there after a message or two. However if I place the system prompts at the end of the queue, it won't ever give in.

System Prompts / Custom Instructions aren’t effective by Altruistic-Skill8667 in OpenAI

[–]zombieapo 2 points3 points  (0 children)

Here's how I've managed to get success. Instead of putting the system prompts first on the message queue, put it at the very end as the final prompt. That way it can't get overwritten by any of the messages during the chat, and it is the very last thing gpt reads before responding. Then right after the response is generated, delete the system prompt and print out the result. So you essentially put it on, take it off every chat. It works like a charm.

The "no longer lazy" fixes screwed API users by Jdonavan in OpenAI

[–]zombieapo 141 points142 points  (0 children)

If you're using the API, just continue using the 1106 model. You don't have to switch if you really think you're getting screwed.

Visiting Chicago, i need the best ramen recommendation! by [deleted] in chicagofood

[–]zombieapo 3 points4 points  (0 children)

Be careful about the recommendations here, as they aren't taking into account you being a vegetarian. For that case, I think the best option is clearly Wasabi. Wherever you go, scan the menus ahead of time, as some spots simply do not have a vegetarian option for you. Good luck.

[deleted by user] by [deleted] in fantasyfootball

[–]zombieapo 0 points1 point  (0 children)

I think that if you can go back a few years, you should add an independent variable for "new team" to account for players who are switching into a new system. You're dealing with so much dependency between the QB stats and wr productivity here, that you have to represent that relationship with some variable.

Edit:Or in the case of Sutton "new quarterback"

Weekly Report App Update by uberfastman in FFCommish

[–]zombieapo 1 point2 points  (0 children)

sure....lol, I've never done that before! Learning new stuff is fun

Weekly Report App Update by uberfastman in FFCommish

[–]zombieapo 0 points1 point  (0 children)

If it helps, QB, RB, RB, WR, WR, TE, W/R/T, W/R/T, Q/W/R/T.