File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,10 @@ To test that database deployment was successful and that OpenAI connection is wo
8989
9090``` sql
9191declare @v vector(1536 )
92- exec [web].[get_embedding] ' just a sample text' , @v output
93- select @v
92+ declare @e varchar (max)
93+ exec [web].[get_embedding] ' just a sample text' , @v output ,@e output
94+ select @v,@e
95+
9496```
9597
9698if no error are returned, you'll get a vector as a result.
@@ -120,6 +122,7 @@ The easiest way to deploy the full-stack application is to fork the repository a
120122Make sure you give the user thay you are using to connect to the database the permission to run the needed stored procedures:
121123
122124``` sql
125+ GRANT SELECT ON SCHEMA::[dbo] TO [< your user> ]
123126GRANT EXECUTE ON SCHEMA::[web] TO [< your user> ]
124127GRANT EXECUTE ANY EXTERNAL ENDPOINT TO [< your user> ];
125128GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::[< openai_url> ] TO [< your user> ];
You can’t perform that action at this time.
0 commit comments