TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Getting started writing an AI system these days

2 点作者 calebjosue10 个月前
A few minutes ago I came up with the idea on writing an AI system capable to participate in an traditional Mexican game with a group of people.<p>In Mexico (I am from Mexico), lots of people like to play lotería[1]. So I was thinking in the process of writing an AI system that is able to participate in such a game.<p>It will need to hear the card that is being dealt, bein able to recognize the image in the board, mark the image, and detect whenever there is a winning position.<p>Most likely there are software implementations playing this game, but I think this is a cool project to get me started (once more) in AI capabilities.<p>What resources would you guys recommend me to get me started? Now, I am not interested in training a model because I am thinking already trained systems are capable to recognize objects even in the way the drawings are portrayed in this lottery.<p>Perhaps this is too much for a starter project and I should focus in a system being able to play Tic-Tac-Toe.<p>Thanks a lot and happy weekend!<p>[1] https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Loter%C3%ADa

3 条评论

ilaksh10 个月前
You could just mainly use the OpenAI APIs. You want it to recognize and encode the board into text at the beginning by sending an image to the chat endpoint. You could use their Whisper API or Deepgram API for speech to text. You would probably need to send every speech utterance that has been transcribed to gpt-3.5. it would then output an updated encoded and marked board each time and a flag indicating a win or not. If it sets the flag then you can play an mp3 declaring the win or something.<p>As long as you can find the documentation for OpenAI and stick with it, you will be able to do it. You should be able to get into the docs with a Google search.
评论 #41147386 未加载
calebjosue9 个月前
Thank you very much for your answers fellows. I think I am going to start with a less ambitious computer program, the one relate with how the cards are dealt and announced to the players. Thanks again!
bckr10 个月前
Learn the basics of PyTorch and use a model from the huggingface transformers package.<p>Collect a small dataset and see if you can get a model to correctly identify the scenarios you give it.<p>Iterate from there.