Metadata-Version: 2.1
Name: ally-ai-chroma
Version: 0.1.2
Summary: langchain chroma package for ally
Author-email: Tugbay Atilla <tugbayatilla@gmail.com>
Project-URL: Homepage, https://github.com/users/tugbayatilla/projects/3/
Project-URL: Issues, https://github.com/users/tugbayatilla/projects/3/views/8
Project-URL: Repository, https://github.com/tugbayatilla/ally_ai.git
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ally-ai-core>=0.1.0
Requires-Dist: chromadb==0.5.3
Requires-Dist: langchain_chroma>=0.1.2

# Ally AI

## How to use

### Config File

#### Use API

```yaml
chromadb:
  host: "<endpoint>"
  port: 8000
  ssl: False
```

#### Use Local
```yaml
chromadb:
  persist_directory: './chroma/chroma'
```


### Initialize

```python
from ally_ai_chroma import Chroma

chroma = Chroma()
```

### Visualise Embeddings

```python
from ally_ai_chroma.ChromaEmbeddingsVisualisation import Chroma, ChromaEmbeddingsVisualisation

chroma = Chroma()
visualise = ChromaEmbeddingsVisualisation(chroma=chroma, limit=100)
query = 'what is an ally?'
visualise(query=query)
```



