Skip to content

Commit eb1e3c5

Browse files
authored
Merge pull request #2 from ryoma-nagata/patch-1
Update README.MD
2 parents f42d5d5 + b109ab9 commit eb1e3c5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.MD

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ To test that database deployment was successful and that OpenAI connection is wo
8989

9090
```sql
9191
declare @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

9698
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
120122
Make 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>]
123126
GRANT EXECUTE ON SCHEMA::[web] TO [<your user>]
124127
GRANT EXECUTE ANY EXTERNAL ENDPOINT TO [<your user>];
125128
GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::[<openai_url>] TO [<your user>];

0 commit comments

Comments
 (0)