Skip to content

Conversation

@thomasht86
Copy link
Contributor

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Please review and run all provided examples @sebastiannberg

FYI @kkraune

@thomasht86
Copy link
Contributor Author

I have also fed up a prod app so those that want can also just get a token and an endpoint and build UI, or do some smart querying, build AI agents on top or whatever.

@sebastiannberg
Copy link

vespa query \
  --header="Authorization: Bearer $VESPA_TOKEN" \
  'yql=select * from product.product where true limit 1'

Warning: Authenticating with API key, intended for use in CI environments.
Hint: Authenticate with 'vespa auth login' instead
Error: open /Users/sebasabe/.vespa/vespa-team.api-key.pem: no such file or directory

I get this when trying to query even if I set VESPA_TOKEN

@thomasht86
Copy link
Contributor Author

Hmm, try to name it someting else?
Or check if you have an api key environment variable set, so it's trying to use that...?

@thomasht86
Copy link
Contributor Author

@sebastiannberg you probably need to set zone, see latest commit

Comment on lines 201 to 207
```bash
vespa feed dataset/products_sample.jsonl
```

```bash
vespa feed dataset/orders_sample.jsonl
```
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The provided sample files are called products.jsonl and orders_train.jsonl.

@boeker
Copy link

boeker commented Oct 17, 2025

Tried both the provided Vespa Cloud instance and deploying myself. Works fine. 👍 The provided notebook also works fine.

@thomasht86 thomasht86 merged commit f0ff7b9 into master Oct 17, 2025
8 checks passed
@thomasht86 thomasht86 deleted the thomasht86/workshop-startcode branch October 17, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants