Skip to content

Commit

Permalink
deploy: a4f5396
Browse files Browse the repository at this point in the history
  • Loading branch information
Demirrr committed Dec 4, 2024
1 parent 60f0d5d commit d64cbeb
Show file tree
Hide file tree
Showing 16 changed files with 203 additions and 565 deletions.
157 changes: 0 additions & 157 deletions _modules/dicee/scripts/index.html

This file was deleted.

1 change: 0 additions & 1 deletion _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ <h1>All modules for which code is available</h1>
<li><a href="dicee/read_preprocess_save_load_kg/save_load_disk.html">dicee.read_preprocess_save_load_kg.save_load_disk</a></li>
<li><a href="dicee/read_preprocess_save_load_kg/util.html">dicee.read_preprocess_save_load_kg.util</a></li>
<li><a href="dicee/sanity_checkers.html">dicee.sanity_checkers</a></li>
<li><a href="dicee/scripts/index.html">dicee.scripts.index</a></li>
<li><a href="dicee/scripts/run.html">dicee.scripts.run</a></li>
<li><a href="dicee/static_funcs.html">dicee.static_funcs</a></li>
<li><a href="dicee/static_funcs_training.html">dicee.static_funcs_training</a></li>
Expand Down
3 changes: 1 addition & 2 deletions _sources/autoapi/dicee/scripts/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ Submodules
.. toctree::
:maxdepth: 1

/autoapi/dicee/scripts/index/index
/autoapi/dicee/scripts/index_serve/index
/autoapi/dicee/scripts/run/index
/autoapi/dicee/scripts/serve/index


22 changes: 0 additions & 22 deletions _sources/autoapi/dicee/scripts/index/index.rst.txt

This file was deleted.

91 changes: 91 additions & 0 deletions _sources/autoapi/dicee/scripts/index_serve/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
dicee.scripts.index_serve
=========================

.. py:module:: dicee.scripts.index_serve
.. autoapi-nested-parse::

$ docker pull qdrant/qdrant && docker run -p 6333:6333 -p 6334:6334 -v $(pwd)/qdrant_storage:/qdrant/storage:z qdrant/qdrant
$ dicee_vector_db --index --serve --path CountryEmbeddings --collection "countries_vdb"



Attributes
----------

.. autoapisummary::

dicee.scripts.index_serve.app
dicee.scripts.index_serve.neural_searcher


Classes
-------

.. autoapisummary::

dicee.scripts.index_serve.NeuralSearcher


Functions
---------

.. autoapisummary::

dicee.scripts.index_serve.get_default_arguments
dicee.scripts.index_serve.index
dicee.scripts.index_serve.root
dicee.scripts.index_serve.search_embeddings
dicee.scripts.index_serve.retrieve_embeddings
dicee.scripts.index_serve.serve
dicee.scripts.index_serve.main


Module Contents
---------------

.. py:function:: get_default_arguments()
.. py:function:: index(args)
.. py:data:: app
.. py:data:: neural_searcher
:value: None


.. py:class:: NeuralSearcher(args)
.. py:attribute:: collection_name
.. py:attribute:: entity_to_idx
:value: None



.. py:attribute:: qdrant_client
.. py:method:: get(entity: str | List[str] = None)
.. py:method:: search(entity: str)
.. py:function:: root()
:async:


.. py:function:: search_embeddings(q: str)
:async:


.. py:function:: retrieve_embeddings(q: str)
:async:


.. py:function:: serve(args)
.. py:function:: main()
77 changes: 0 additions & 77 deletions _sources/autoapi/dicee/scripts/serve/index.rst.txt

This file was deleted.

Loading

0 comments on commit d64cbeb

Please sign in to comment.