diff --git a/README.MD b/README.MD index fb702b7..c1c0064 100644 --- a/README.MD +++ b/README.MD @@ -89,8 +89,10 @@ To test that database deployment was successful and that OpenAI connection is wo ```sql declare @v vector(1536) -exec [web].[get_embedding] 'just a sample text', @v output -select @v +declare @e varchar(max) +exec [web].[get_embedding] 'just a sample text', @v output ,@e output +select @v,@e + ``` if 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 Make sure you give the user thay you are using to connect to the database the permission to run the needed stored procedures: ```sql +GRANT SELECT ON SCHEMA::[dbo] TO [] GRANT EXECUTE ON SCHEMA::[web] TO [] GRANT EXECUTE ANY EXTERNAL ENDPOINT TO []; GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::[] TO [];