diff --git a/examples/simple-genai-server/README.md b/examples/simple-genai-server/README.md index cdabe6f8e7..073aaba664 100644 --- a/examples/simple-genai-server/README.md +++ b/examples/simple-genai-server/README.md @@ -76,7 +76,7 @@ include the context with each chat (post request) that you make to the GenAI end If you want to have two clients "chat" to each other, modify the [gameserver_autochat.yaml](gameserver_autochat.yaml) `GenAiEndpoint` value to your inference -server's endpoint. Also modift the `SimEndpoint` value to your inference server's endpoint. +server's endpoint. Also modify the `SimEndpoint` value to your inference server's endpoint. Alternatively you can create a basic http server that accepts requests in the structure noted in the above section, and returns a predetermined set of responses for the chat. The `GenAiContext` is sent to the `GenAiEndpoint` with each request, and the `SimContext` is sent to the `SimEndpoint` with diff --git a/examples/simple-genai-server/main.go b/examples/simple-genai-server/main.go index 24ae23ad7d..97fe425586 100644 --- a/examples/simple-genai-server/main.go +++ b/examples/simple-genai-server/main.go @@ -39,10 +39,10 @@ func main() { sigCtx, _ := signals.NewSigKillContext() port := flag.String("port", "7654", "The port to listen to traffic on") - genAiEndpoint := flag.String("GenAiEndpoint", "", "The full base URL to send API requests to to simulate computer (NPC) responses to user input") + genAiEndpoint := flag.String("GenAiEndpoint", "", "The full base URL to send API requests to simulate computer (NPC) responses to user input") genAiContext := flag.String("GenAiContext", "", "Context for the GenAI endpoint") prompt := flag.String("Prompt", "", "The first prompt for the GenAI endpoint") - simEndpoint := flag.String("SimEndpoint", "", "The full base URL to send API requests to to simulate user input") + simEndpoint := flag.String("SimEndpoint", "", "The full base URL to send API requests to simulate user input") simContext := flag.String("SimContext", "", "Context for the Sim endpoint") numChats := flag.Int("NumChats", 1, "Number of back and forth chats between the sim and genAI")