Skip to content

Commit

Permalink
Merge pull request #156 from World-of-Workflows/Jim-edits9July
Browse files Browse the repository at this point in the history
Formatting of OpenAI documentation
  • Loading branch information
jimcantor committed Jul 26, 2024
2 parents 8e20f2f + e688f54 commit 7010e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/19_plugins/OpenAIPlugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ This activity allows an image to use used to guide ChatGPT. The image must be a

{: .key }
If you want to use your own World of Workflows server to host the image, you will create another workflow to 'serve' that image.
For example, your workflow would be run via an HTTP Endpoint, answering to '/getImage?id=1234' or 'getImage?name=flyingPig'. The workflow would use the ReadFile activity to get the file from disk (the output is a byte array) which is then sent using the `Http Response` activity. The `Content` would be the output from the ReadFile activity. Set the `Content-Type` to the appropriate MIME type (image/png, application/pdf, etc.).

> For example, your workflow would be run via an HTTP Endpoint, answering to '/getImage?id=1234' or 'getImage?name=flyingPig'. The workflow would use the ReadFile activity to get the file from disk (the output is a byte array) which is then sent using the `Http Response` activity. The `Content` would be the output from the ReadFile activity. Set the `Content-Type` to the appropriate MIME type (image/png, application/pdf, etc.).

[Fine tuning example jsonl](../finetuning/wow16.jsonl){:target="_blank"}

0 comments on commit 7010e79

Please sign in to comment.