contact me at [email protected] link

지난번에 Bloom AI를 UE5에 넣었던 프로젝트를 개선했습니다.
그 프로젝트는 끝났지만 몇 가지 문제가 있었습니다.

제 편집 때문에 모르셨을 수도 있지만, 사실 대기 시간이 상당히 길었습니다.

대답 생성을 기다리는 동안 프리징이 걸렸는데 그때는 아무것도 할 수 없었습니다.

또한 github에서 python 문제에 대해 pull 요청을 올렸지만, 그것이 받아들여질 때까지 UE 업데이트가 있을 때마다 소스에서 unreal을 수동으로 컴파일해야 했습니다.

그래서 이번에는 다른 접근방식을 선택했습니다.

우선 AI 모델을 bloom에서 gpt-neo로 변경하고 플라스크를 사용하여 로컬 호스트 서버를 호스팅했습니다.

다음으로, UE에서 그것과 상호작용하면 그것은 그 로컬 호스트에 http 요청을 합니다.

이렇게 하면 대화를 게임 내에 로드하는 데 시간이 걸릴 수 있지만 동결 문제를 해결할 수 있고 매번 UE를 다시 만들 필요가 없습니다.

다양한 모델을 테스트한 결과, gpt-neo가 가장 다양하고 자연스럽고 빠른 결과가 나왔습니다.

편집 소프트웨어는 10초도 걸리지 않았는데, 지난번보다 2배 이상 빨라졌습니다.

직접 보면 프레임은 잘 나오는데 영상을 보면 OBS에 문제가 있는 것 같습니다.

또 다른 큰 개선점은 편집기 외부에서 실행된다는 것입니다.

녹음하는 것을 잊어버렸는데 이전 방법으로는 에디터 밖에서, 즉 exe 파일을 만들면 python을 연결할 수 없었는데 지금은 연결할 수 있습니다.

실제로 설치할 때는 python과 필수 모듈을 포함한 패키지를 만들거나 별도의 서버를 어딘가에서 실행할 수 있습니다.

그러나 후자를 선택할 경우 네트워크 핑으로 인한 추가 지연을 고려해야 합니다.

출력은 다음과 같습니다:

hello my name is paul and i am new to this forum. I'm looking for some help, please! I have been having a hard time with this since about 2 years ago when my husband was diagnosed with PCOS (p
olycystic
hello my name is Rachna from India. I got my BSc (Economics) in 2008,and completed MTech(Information Techno
logy)in 2012.I am currently pursuing BBA with an emphasis on Marketing and Sales Management...
hello my name is Chris I was born in Australia and just moved back to Australia from the USA so i'm trying to figure out how to move there. The only thing that has been really on my mind 
lately is the fact that i want a car
hello my name is John and I am a
student who has been studying the
Physics Literature for two years. My
major interests are in nuclear physics,
nuclear engineering with chemistry as well but ive found that all of these things have

My end goal with these projects is to have a town of NPCs with these ai models in their ‘brains’ and have them talk to players like chatbots in real time. It would be like interacting with other people, even in singleplayer. I think that would be quite fascinating.

contact me at [email protected] link