fix: Rename freeflowuniverse to incubaid
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
```v
|
||||
|
||||
import freeflowuniverse.herolib.clients.openai
|
||||
import incubaid.herolib.clients.openai
|
||||
|
||||
mut client:= openai.get()! //will be the default client, key is in `AIKEY` on environment variable or `OPENROUTER_API_KEY`
|
||||
|
||||
@@ -14,4 +14,4 @@ resp := client.embeddings.create_embedding(
|
||||
model: 'text-embedding-ada-002'
|
||||
)!
|
||||
|
||||
```
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module embeddings
|
||||
|
||||
import json
|
||||
import freeflowuniverse.herolib.clients.openai { OpenAI, Usage }
|
||||
import incubaid.herolib.clients.openai { OpenAI, Usage }
|
||||
|
||||
type OpenAIAlias = OpenAI
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import os
|
||||
import clients.openai
|
||||
import clients.openai.embeddings
|
||||
import clients.openai.openai_factory_ { get }
|
||||
import freeflowuniverse.crystallib.osal { play }
|
||||
import incubaid.crystallib.osal { play }
|
||||
|
||||
fn test_embeddings() {
|
||||
key := os.getenv('OPENAI_API_KEY')
|
||||
|
||||
Reference in New Issue
Block a user