Skip to content

Commit fda611c

Browse files
committed
docs: add cocoindex.init() call for quickstart
1 parent d42735b commit fda611c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/docs/getting_started/quickstart.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@ Now we can add the main logic to the program. It uses the query function we just
244244
245245
```python title="quickstart.py"
246246
if __name__ == "__main__":
247+
# Initialize CocoIndex library states
248+
cocoindex.init()
249+
247250
# Initialize the database connection pool.
248251
pool = ConnectionPool(os.getenv("COCOINDEX_DATABASE_URL"))
249252
# Run queries in a loop to demonstrate the query capabilities.

0 commit comments

Comments
 (0)