microsoft / psi

Platform for Situated Intelligence
https://github.com/microsoft/psi/wiki
Other
529 stars 92 forks source link

sigma exception when connecting to server #315

Closed codesForAnything closed 1 month ago

codesForAnything commented 1 month ago

[05/28/2024 16:01:09.8586]: SERVER PIPELINE RUNTIME EXCEPTION: One or more errors occurred. at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at Microsoft.Psi.Pipeline.<>cDisplayClass110_01.<CreateAsyncReceiver>b__0(Message1 m) in D:\littleStar\github\psi\Sources\Runtime\Microsoft.Psi\Executive\Pipeline.cs:line 401 at Microsoft.Psi.Executive.PipelineElement.<>c__DisplayClass45_1`1.b1() in D:\littleStar\github\psi\Sources\Runtime\Microsoft.Psi\Executive\PipelineElement.cs:line 184 at Microsoft.Psi.Executive.PipelineElement.<>cDisplayClass44_0.b0() in D:\littleStar\github\psi\Sources\Runtime\Microsoft.Psi\Executive\PipelineElement.cs:line 162 at Microsoft.Psi.Executive.PipelineElement.<>cDisplayClass45_0`1.b0(T m) in D:\littleStar\github\psi\Sources\Runtime\Microsoft.Psi\Executive\PipelineElement.cs:line 184 at Microsoft.Psi.Receiver1.<>c__DisplayClass13_0.<.ctor>b__0(Message1 m) in D:\littleStar\github\psi\Sources\Runtime\Microsoft.Psi\Streams\Receiver{T}.cs:line 73 at Microsoft.Psi.Receiver`1.DeliverNext() in D:\littleStar\github\psi\Sources\Runtime\Microsoft.Psi\Streams\Receiver{T}.cs:line 347 at Microsoft.Psi.Scheduling.Scheduler.ExecuteAndRelease(SynchronizationLock synchronizationObject, Action action, SchedulerContext context) in D:\littleStar\github\psi\Sources\Runtime\Microsoft.Psi\Scheduling\Scheduler.cs:line 580 [05/28/2024 16:01:09.8616]: Stopping Compute Server Pipeline @05/28/24 04:01:09 PM. [05/28/2024 16:01:09.8636]:

codesForAnything commented 1 month ago

The code tag version is v0.19.100.1-beta

codesForAnything commented 1 month ago

The cognitiveService.Speechkey should be CognitiveServices.Speech It miss a s in https://github.com/microsoft/psi/wiki/Sigma-How-to-Build#environment-variables.

codesForAnything commented 1 month ago

and if you configure the azure openai key and endpoint, you should adjust the json file (https://github.com/microsoft/psi/blob/master/Applications/Sigma/Sigma/Resources/llmqueries.json) change the deployment model name into yours image eg, change gpt-4 to gpt-4o for me