Skip to content

Commit

Permalink
fix: broken ai post links (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoCasa authored Oct 6, 2023
1 parent 52db9d0 commit 2d1e029
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blog/2023-08-04-windmill-ai/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ However, we are looking forward to experimenting with other models in the future
The technics we have used here should be applicable to those as well.

We interact with GPT-4 (8K context) using the OpenAI Node API v4 library (currently in beta).
You can explore all our code on GitHub [here](https://github.com/windmill-labs/windmill/blob/main/frontend/src/lib/components/codeGen/lib.ts).
You can explore all our code on GitHub [here](https://github.com/windmill-labs/windmill/blob/main/frontend/src/lib/components/copilot/lib.ts).
Additionally, we have implemented a backend service in Rust to proxy the user's request and add the OpenAI API key without revealing it in the frontend.
You can find the relevant code [here](https://github.com/windmill-labs/windmill/blob/main/backend/windmill-api/src/openai.rs).

Expand Down Expand Up @@ -236,7 +236,7 @@ Name the parameters by adding comments before the command like that:
```

The idea is the same for other supported SQL languages and similar for bash scripts.
You can find the code generation templates for all languages and runtimes [here](https://github.com/windmill-labs/windmill/blob/main/frontend/src/lib/components/codeGen/prompts/gen.yaml).
You can find the code generation templates for all languages and runtimes [here](https://github.com/windmill-labs/windmill/blob/main/frontend/src/lib/components/copilot/prompts/gen.yaml).

### Handling database schemas

Expand Down Expand Up @@ -381,7 +381,7 @@ Watch our Copilot fix a bug in a Python script:
</sup>
</div>

You can find all of our prompts templates [here](https://github.com/windmill-labs/windmill/tree/main/frontend/src/lib/components/codeGen/prompts).
You can find all of our prompts templates [here](https://github.com/windmill-labs/windmill/tree/main/frontend/src/lib/components/copilot/prompts).
We store them in yaml files, making it easy to read and edit.
In order to evaluate the evolution of our Copilot's performance, each time we modify the prompts we (re)generate answers to sample questions.
The samples can be found [here](https://github.com/windmill-labs/windmill/tree/main/llm).
Expand Down

0 comments on commit 2d1e029

Please sign in to comment.