Schenk
Schenk
CC#
Created by Schenk on 1/16/2024 in #help
Zoom Meeting SDK for Windows C# wrapper, Need help please.
Hi, So I am trying to build an something using the Zoom Windows Meeting SDK C# wrapper but I can't get my head around it, or get it to work. So any help is much appreciated.
5 replies
CC#
Created by Schenk on 8/7/2023 in #help
How do I close console app outside of the Main method?
I have a program that runs recursive outside of the main method, but how do I close it. I can't use any of the usual as they only works in main.
3 replies
CC#
Created by Schenk on 8/7/2023 in #help
✅ Convert List to IList
How do I convert a List to an IList?
34 replies
CC#
Created by Schenk on 8/6/2023 in #help
Unable to add COM reference to project
7 replies
CC#
Created by Schenk on 7/27/2023 in #help
❔ Property can only bet set a new list and now variable??
So this works just fine:
List<ChatMessage> messages = new List<ChatMessage>();
messages.Add(newMessage);

var openAiResponse = await openAiClient.GetChatCompletionsAsync(openAIModel, new ChatCompletionsOptions
{
Messages = { new ChatMessage(role, prompt) } // DOES NOT WORK WITH messages
});
List<ChatMessage> messages = new List<ChatMessage>();
messages.Add(newMessage);

var openAiResponse = await openAiClient.GetChatCompletionsAsync(openAIModel, new ChatCompletionsOptions
{
Messages = { new ChatMessage(role, prompt) } // DOES NOT WORK WITH messages
});
But this does not:
List<ChatMessage> messages = new List<ChatMessage>();
messages.Add(newMessage);

var openAiResponse = await openAiClient.GetChatCompletionsAsync(openAIModel, new ChatCompletionsOptions
{
Messages = messages // DOES NOT WORK WITH messages
});
List<ChatMessage> messages = new List<ChatMessage>();
messages.Add(newMessage);

var openAiResponse = await openAiClient.GetChatCompletionsAsync(openAIModel, new ChatCompletionsOptions
{
Messages = messages // DOES NOT WORK WITH messages
});
error: "Property or indexer 'property' cannot be assigned to -- it is read only" How do I fix this?
5 replies
CC#
Created by Schenk on 7/26/2023 in #help
Real-time audio recording and streaming
Hey, so I'm trying to make a home assistant like console app, but I'm having issues with the voice recording, I would like it to record real-time audio and then stream that to a real-time speech to text api, would this be possible, is so does anybody any resources on how to achieve it. I have looked at using NAudio but I can figure out how. I tried using the SpeechRecognitionEngine but it is really bad and does not understand what I say even after 3 trainings, so looking for another option.
6 replies
CC#
Created by Schenk on 7/25/2023 in #help
Real-time audio recording and streaming
Hey, so I'm trying to make a home assistant like console app, but I'm having issues with the voice recording, I would like it to record real-time audio and then stream that to a real-time speech to text api, would this be possible, is so does anybody any resources on how to achieve it. I have looked at using NAudio but i can figure out how.
17 replies