Skip to content

Commit

Permalink
add post 2024-02-12
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmin93 committed Feb 17, 2024
1 parent 1cd0ced commit e2183f7
Show file tree
Hide file tree
Showing 12 changed files with 524 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _posts/2024-02-05-supabase-pgvector-day2.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,15 @@ limit 5;
- [airbnb 숙박정보 csv](https://github.com/YugabyteDB-Samples/openai-pgvector-lodging-service/blob/main/sql/airbnb_listings_with_embeddings.csv) : description 의 embedding 벡터 포함
- [테이블 airbnb_listing](https://github.com/YugabyteDB-Samples/openai-pgvector-lodging-service/blob/main/sql/airbnb_listings.sql)

```js
const embeddingResp = await openai.embeddings.create(
{
model: "text-embedding-ada-002",
input: prompt
}
);
```

<img src="/2024/02/05-airbnb-recommend-with-pgvector.png" alt="airbnb-recommend-with-pgvector" width="70%" />

#### [embedding models](https://platform.openai.com/docs/guides/embeddings/embedding-models)
Expand Down
Loading

0 comments on commit e2183f7

Please sign in to comment.