Commit Graph

340 Commits

Author SHA1 Message Date
shizhediao
35f765e218
Update Gen_QA.ipynb 2023-03-07 19:53:22 +08:00
Kacper Łukawski
c8a8db7b94 List Qdrant among the other vector databases 2023-03-07 09:49:34 +01:00
ethanknights
df79754e03 rm trailing cell 2023-03-05 16:08:01 +00:00
ethanknights
f46e2c15b2 company typo 2023-03-05 16:06:11 +00:00
Logan Kilpatrick
38c84ede5f
Merge pull request #172 from eltociear/patch-1
fix typo in Gen_QA.ipynb
2023-03-03 13:20:30 -06:00
colin-openai
bd03f796ee
Merge pull request #140 from kacperlukawski/qdrant-notebooks
Add Qdrant notebooks
2023-03-03 08:55:27 -08:00
Kacper Łukawski
fa9fded505 Add custom prompt template example 2023-03-03 17:50:23 +01:00
Kacper Łukawski
98b639df22 Fix typos and increase langchain version to 0.0.100 2023-03-03 16:19:51 +01:00
Ted Sanders
b92d7e7b92 updates streaming example for chat models 2023-03-02 22:42:03 -08:00
Ikko Eltociear Ashimine
916843f921
fix typo in Gen_QA.ipynb
recieve -> receive
2023-03-03 15:14:09 +09:00
Ted Sanders
8cd6b0f53b adds examples of counting tokens for the ChatGPT API 2023-03-02 12:52:26 -08:00
Ted Sanders
73a64ff7da
Ted/chat api (#163)
* adds example for calling ChatGPT API

* updates table of contents with ChatGPT API
2023-03-01 10:00:07 -08:00
colin-openai
6be0de50e5 Switching character chunking out for token-based chunking 2023-03-01 04:01:28 -08:00
colin-openai
7139df95c3 Pushing updated version with grammar changes 2023-03-01 03:31:26 -08:00
colin-openai
2131c770ea Notebook demonstrating approach to extracting entities from a long document 2023-02-20 02:25:42 -08:00
Kacper Łukawski
c1f11dc8f7 Remove the output of pip install command 2023-02-16 18:35:41 +01:00
Kacper Łukawski
cfdda833fd Add an example of how to use Langchain with Qdrant and OpenAI embeddings 2023-02-16 18:32:56 +01:00
Kacper Łukawski
878dd10d5c Add "Getting started" notebook for Qdrant 2023-02-16 16:30:25 +01:00
Kacper Łukawski
d3da832448 Update Qdrant to 1.0.1 2023-02-16 10:50:24 +01:00
Filip Haltmayer
7198d48994 Add Milvus vector db
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
2023-02-15 11:49:27 -08:00
colin-openai
9b17d00cab
Merge pull request #131 from Spartee/add-redis-example
Add Redis example notebooks and READMEs
2023-02-15 08:04:01 -08:00
Sam Partee
d0dfca2b95 Add docker-compose and cleanup 2023-02-14 13:05:41 -08:00
Sam Partee
36cf06fc0a Add Redis example notebooks and READMEs 2023-02-13 18:08:24 -08:00
Ted Sanders
6b7e5f6695
updates docker link to docker.com (#129) 2023-02-13 16:56:13 -08:00
colin-openai
264bcb03dd
Merging Weaviate notebooks to main (#122)
* updates Weaviate vector database Cookbook examples
2023-02-13 10:33:00 -08:00
Ted Sanders
5b5f228121
Merge pull request #100 from scottire/main
Add W&B embedding projector example
2023-02-09 10:35:03 -08:00
Scott Condron
f4c865cfef
Removing top from blurb 2023-02-09 18:33:15 +00:00
Scott Condron
5e0c3f92d3 Add W&B Blurb 2023-02-09 15:39:03 +00:00
colin-openai
c31fe72f1a
Merge pull request #121 from openai/colin
Fixed commented out vector
2023-02-09 02:15:15 -08:00
colin-openai
df570ceb4d Fixed commented out vector 2023-02-09 02:14:24 -08:00
jamescalam
7c43d6ab1a added pinecone-openai gen qa example 2023-02-08 10:49:53 +04:00
Ted Sanders
fa3a64a3b8
Merge pull request #117 from Tobel158/patch-1
Update Question_answering_using_embeddings.ipynb
2023-02-07 09:23:24 -08:00
Tobel
1b9efd7726
Update Question_answering_using_embeddings.ipynb
remove typo
2023-02-06 19:53:18 -05:00
Filipe de Avila Belbute Peres
d339859248 Fix weighted average 2023-02-06 13:51:06 -08:00
Ted Sanders
9f4bb5260a
Merge pull request #105 from wa11breaker/main
docs: fix example code in fine-tuned_qa section 2.3
2023-02-06 09:37:27 -08:00
Ted Sanders
ac71280d5c
Merge pull request #95 from akshayvkt/patch-1
Updated a markdown in Clustering.ipynb
2023-02-06 09:26:05 -08:00
Ted Sanders
0acccd2ad4
Merge pull request #92 from Androbin/patch-1
Encode separator for completions endpoint
2023-02-06 09:24:42 -08:00
Ted Sanders
5ef1523014
Merge pull request #56 from openai/colin
Initial commit of vector database example with new embeddings
2023-02-06 09:20:01 -08:00
colin-openai
3ad0e718cb Pushing update to remove data loading 2023-02-06 03:48:31 -08:00
Akshay
e894ddf315 docs: fix example code in fine-tuned_qa section 2.3 2023-02-04 11:10:15 +05:30
Scott
e2106af5db Add W&B embedding projector example 2023-02-01 13:52:08 +00:00
colin-openai
befe771b2c Updated to align wording 2023-01-31 14:37:22 -08:00
Akshay Chintalapati
5811e634a0
Update Clustering.ipynb
Updated the penultimate markdown to align with the code in the following cell
2023-01-30 00:26:15 -08:00
Robin Richtsfeld
b34607ddb7
Encode separator for completions endpoint
`SEPARATOR` is being used to construct a prompt for use with the completions endpoint
2023-01-29 02:13:55 +01:00
Ted Sanders
e3450242b2 updates model name in text description of Q&A notebook 2023-01-27 16:27:26 -08:00
colin-openai
a37477f9bc Tested notebook end to end 2023-01-26 11:11:23 -08:00
colin-openai
ea8a52d00b Updated text to include Qdrant in guide 2023-01-25 16:42:33 -08:00
Bryan Ricker
c51a573f0d
fix typo 2023-01-24 17:13:24 -08:00
Ted Sanders
ea6b4f1dd6 updates streaming guide with note about usage field 2023-01-20 14:38:12 -08:00
Ted Sanders
35aa675aef updates rate limit notebook with links to parallel processing script 2023-01-20 14:30:55 -08:00
Ted Sanders
23acf80aaf adds parallel processing script 2023-01-20 14:07:18 -08:00
Ted Sanders
c9df23f7d0
Merge pull request #77 from Pankaj-Baranwal/patch-1
Replaced non-existent model with the new version.
2023-01-19 14:38:35 -08:00
Filipe de Avila Belbute Peres
2e59263390 Convert back to list only after all np operations 2023-01-19 10:27:24 -08:00
Ted Sanders
d1165a7757 normalizes averaged embeddings to length 1 2023-01-19 10:11:34 -08:00
Ted Sanders
14262d47e8 polishes text and re-runs notebook 2023-01-19 10:04:31 -08:00
Filipe de Avila Belbute Peres
ee69beb8cd Print len instead of full array 2023-01-18 18:22:03 -08:00
Filipe de Avila Belbute Peres
f3289404b2 Wrap error message to avoid saving all the trace to the notebook 2023-01-18 18:20:01 -08:00
Filipe de Avila Belbute Peres
ec564da44d Change len_safe function signature + other changes 2023-01-18 18:16:22 -08:00
Filipe de Avila Belbute Peres
f259e82ab6 Rename file 2023-01-18 17:51:32 -08:00
Filipe de Avila Belbute Peres
85032e0831 Finish first draft 2023-01-18 17:50:31 -08:00
Kacper Łukawski
5ee5fecb76 Add Qdrant as another example of vector database 2023-01-18 11:15:36 +01:00
Filipe de Avila Belbute Peres
cc6df3a8c3 Write initial draft 2023-01-17 18:17:39 -08:00
Ted Sanders
5050739cf1 adds tiktoken example 2023-01-17 13:23:06 -08:00
Colin Jarvis
225b9177c8 Updated wordings of headers 2023-01-16 07:47:58 -08:00
Colin Jarvis
a367e11e39 Updated title 2023-01-16 07:45:17 -08:00
Colin Jarvis
f20f6acfd1 Updated document name to be more descriptive 2023-01-16 07:41:42 -08:00
Colin Jarvis
80b8e5fc3f Pushing updated version responding to PR comments 2023-01-16 07:41:10 -08:00
Pankaj
fdc0f42847
Replaced non-existent model with the new version.
davinci-instruct-beta-v2 model doesn't exist anymore.
It has been replaced by davinci-instruct-beta-v3
2023-01-16 12:46:24 +05:30
Ted Sanders
4adea8e4e2
Merge pull request #50 from cmurtz-msft/azure-openai-ga
Azure OpenAI GA
2023-01-13 19:57:21 -08:00
Ted Sanders
df2758ac2e updates Q&A example with latest embedding and completion models 2023-01-11 08:45:56 -08:00
Colin Jarvis
fb18b7f6c2 Added notes where users can consider adding thread pool to speed up upsert operation 2023-01-11 04:04:16 -08:00
Colin Jarvis
21ca5a9555 Removed extra whitespace within Weaviate query function 2023-01-11 04:01:29 -08:00
Colin Jarvis
f2567b62a5 Pushing updated Vector DB introduction notebook with PR changes 2023-01-11 03:55:23 -08:00
Ted Sanders
49fca3f32e updates # of dimensions in embedding visualization examples 2023-01-10 15:58:38 -08:00
Ted Sanders
8b547fdb83 updates embedding examples based on ada-002 2023-01-10 10:37:25 -08:00
Colin Jarvis
73802cb7e1 Merge branch 'main' into colin 2023-01-09 04:54:52 -08:00
Shyamal H Anadkat
502429c7c8
Merge pull request #46 from scottleibrand/patch-1
Only get_embedding once
2023-01-08 16:07:43 -08:00
Shyamal H Anadkat
c6fc1f2b2a
Merge pull request #54 from oaosman84/patch-1
Remove obsolete reference to old embedding engines
2023-01-08 16:06:08 -08:00
gloryjain
40e3a10417
Update notebook to point to form
Route rate limit increase requests to form instead of our support email
2023-01-06 12:05:16 -08:00
Colin Jarvis
b7cb21689a Initial commit of vector database example with new embeddings 2023-01-05 01:54:46 -08:00
Osman A. Osman
b2d9cd13d4
Remove obsolete reference to old embedding engines 2023-01-03 19:00:13 -08:00
Scott Leibrand
ae45a48de3
Only get_embedding once
fd181ec78f updated what was previously two different get_embedding() calls w/ different models to be two identical calls. Rather than doing the same API call twice in a row, we can now just set the second variable to be equal to the first one.
2022-12-23 12:30:26 -08:00
Christian Muertz
934f4d863b Update ad auth section 2022-12-22 11:03:39 +01:00
Christian Muertz
0bd2dcfa5c Fix setup sections 2022-12-22 11:03:39 +01:00
Christian Muertz
9b3fd89a26 Fix typo 2022-12-22 11:03:39 +01:00
Christian Muertz
3708c28834 Adjust finetuning setup section 2022-12-22 11:03:39 +01:00
Christian Muertz
ca628a18be Add ad auth to embeddings example 2022-12-22 11:03:39 +01:00
Christian Muertz
53a9891133 Fix completions notebook 2022-12-22 11:03:39 +01:00
Christian Muertz
7ce4de8467 Update metadata of azure notebooks 2022-12-22 11:03:39 +01:00
Christian Muertz
3eee35e24f Simple example just for completions with davinci 2022-12-22 11:03:39 +01:00
Christian Muertz
918c497ecd Fix finetuning example 2022-12-22 11:03:38 +01:00
Christian Muertz
7165609030 Update embeddings notebook
* Update api_version to 2022-12-01
* Fix some texts
2022-12-22 11:03:38 +01:00
Logan Kilpatrick
fd181ec78f updates embedding examples with new embedding model 2022-12-15 09:58:37 -08:00
Arun Chandrasekhar
3c334e70dd
Added .default scope to URI to get token using DefaultAzureCredential
Fixing issue encountered when using this in some contexts (like virtual environments in notebooks).
2022-11-18 09:28:51 -08:00
Ted Sanders
e00797e3e5 adds unit test example 2022-11-15 13:24:11 -08:00
Stanislav Termosa
1a8111e0ef
Update olympics-1-collect-data.ipynb
Fix typo with duplicated "the the"
2022-11-06 16:54:54 +02:00
Ted Sanders
1f62a62102 updates DALL-E API example 2022-11-04 18:32:32 -07:00
Ted Sanders
d932a36398 fixes two broken links to embedding guide 2022-11-03 11:18:13 -07:00
Boris Power
fe60d7f2af
Merge pull request #26 from colin-jarvis/main
Adding transaction classification notebooks
2022-10-26 17:50:49 -07:00
Colin Jarvis
0ad407b75a Removed helpers 2022-10-26 17:13:15 +01:00
Colin Jarvis
d968557408 Merge branch 'main' of https://github.com/colin-jarvis/openai-cookbook 2022-10-26 16:30:46 +01:00
Colin Jarvis
209c1a12e8 Resolved PR comments from Boris 2022-10-26 16:30:38 +01:00
Ted Sanders
e383e243c2 fixes broken link to QA notebook 2022-10-24 16:31:33 -07:00
Ted Sanders
75aceae6b8 updates warning formatting to HTML to improve display on GitHub 2022-10-24 14:03:11 -07:00
Ted Sanders
e3d7091d70 adds warning to QA example code 2022-10-24 13:46:57 -07:00
Ted Sanders
37e0136ce0 Revert "removes old Q&A example now that a better alternative exists"
This reverts commit 02295444f7.
2022-10-24 13:28:47 -07:00
Colin Jarvis
381070fa4e
Merge branch 'openai:main' into main 2022-10-20 23:45:06 +01:00
Colin Jarvis
401f7c7ef0 Added write-up to Clustering for transaction classification notebook 2022-10-20 23:42:19 +01:00
Colin Jarvis
b01900d5d9 Initial commit of transaction classification notebooks 2022-10-20 23:31:42 +01:00
Ted Sanders
1b211d2a87 small updates to streaming example 2022-10-12 15:54:19 -07:00
Colin Jarvis
32596ae85b Removed line from notebook 2022-09-29 18:30:29 +01:00
Colin Jarvis
c951d099b9 Removed images from folder 2022-09-29 08:34:34 +01:00
Colin Jarvis
89de43faf4 Fixed Edits endpoint by applying new masking approach 2022-09-29 08:33:24 +01:00
Colin Jarvis
139af20193 Added Generations and Variations endpoint examples for DALL-E API. Edits endpoint example is included but is WIP, getting an error currently 2022-09-28 21:15:02 +01:00
Sorin Suciu
71cc3f4a9b Change scale_type in the create deployment examples 2022-09-19 14:42:29 +02:00
Ted Sanders
02295444f7 removes old Q&A example now that a better alternative exists 2022-09-15 10:46:27 -07:00
Ted Sanders
853264fc55 adds guide for how to handle rate limits 2022-09-12 16:55:35 -07:00
Ted Sanders
bff53e71ed adds streaming example 2022-09-02 12:15:34 -07:00
Boris Power
b40d006c7a update search example 2022-07-20 17:42:02 -07:00
Ted Sanders
4195d712cc updates azure examples 2022-07-20 17:39:56 -07:00
Ted Sanders
edb02b8bc9 migrates Azure examples from openai-python library 2022-07-12 15:26:37 -07:00
Ted Sanders
d987d2329a adds prefiltered data and precomputed embeddings to Customizing_embeddings.ipynb 2022-07-12 15:26:19 -07:00
Ted Sanders
65d0925e59 adds precomputing embeddings, changes engine name to match, fixes typo 2022-07-12 15:26:05 -07:00
Ted Sanders
2dc64b1567 adds data download from CDN with precomputed embeddings 2022-07-12 15:25:56 -07:00
Ted Sanders
efa71942c6 moves dbpedia embeddings to data folder 2022-07-12 15:25:43 -07:00
Ted Sanders
04f7e93c62 adds warning about needing to compute file with embeddings 2022-07-12 15:25:35 -07:00
Ted Sanders
bd061ad2d4 adds data download from CDN with precomputed embeddings 2022-07-12 15:25:23 -07:00
Ted Sanders
350b9a7333 adds data download from CDN with precomputed embeddings 2022-07-12 15:25:10 -07:00
Ted Sanders
6eae26d5cc adds link to full dataset from AG 2022-07-12 15:24:54 -07:00
Ted Sanders
7dfdb9aa05 lint 2022-07-12 15:24:43 -07:00
Ted Sanders
b77e9b34e8 clarifies name of Classification example using embeddings 2022-07-12 15:24:27 -07:00
Ted Sanders
cfe03038bd lint 2022-07-12 15:23:26 -07:00
Ted Sanders
8b2d68f031 adds precomputed embeddings 2022-07-12 15:22:46 -07:00
Ted Sanders
2515ddc7b8 adds data for Obtain_dataset.ipynb 2022-07-12 15:22:29 -07:00
Ted Sanders
25d641d21f renames context_embeddings to document_embeddings 2022-07-12 15:21:44 -07:00
Mike Heaton
ac406fc126
Update Question_answering_using_embeddings.ipynb 2022-07-11 20:24:33 +03:00
Mike Heaton
7ffa01aeb2 minor renaming 2022-06-20 10:03:31 -07:00
Mike Heaton
711f87d6a3 question answering using embeddings 2022-06-20 09:44:38 -07:00
Mike Heaton
2d2569f4fd draft 2022-06-10 16:58:15 -07:00
Boris Power
535f545be7 Initial commit 2022-06-03 12:56:03 -07:00