File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,4 +17,6 @@ config.yaml
1717postgres
1818dist
1919
20- .coverage *
20+ .coverage *
21+
22+ .DS_Store
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Embedbase is a single API to access both LLMs and a VectorDB\*
1414
1515Here's a small example to do a simple Q&A search app:
1616
17- ``` js
17+ ``` js copy
1818import { createClient } from ' embedbase-js'
1919// initialize client
2020const embedbase = createClient (
@@ -34,7 +34,7 @@ const stringifiedSearchResults = searchResults
3434 .join (' ' )
3535
3636const answer = await embedbase
37- .useModel (' openai/gpt-3.5-turbo-16k' )
37+ .useModel (' openai/gpt-3.5-turbo-16k' ) // or google/bison
3838 .generateText (` ${ stringifiedSearchResults} ${ question} ` )
3939
4040console .log (answer) // 'I suggest considering harem pants for your needs. Harem pants are known for their ...'
You can’t perform that action at this time.
0 commit comments