peterw /
Chat-with-Github-Repo
This repository contains two Python scripts that demonstrate how to create a chatbot using Streamlit, OpenAI GPT-3.5-turbo, and Activeloop's Deep Lake.
83/100 healthLoading repository data…
weaviate / repository
This repository contains an example of how to use the Weaviate vector search engine's text2vec-openai module
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repository contains an example of how to use the Weaviate text2vec-openai module. When using this demo dataset, Weaviate will vectorize the data and the queries based on OpenAI's Babbage model.
Weaviate is an open-source, modular vector search engine. It works like any other database you're used to (it has full CRUD support, it's cloud-native, etc), but it is created around the concept of storing all data objects based on the vector representations (i.e., embeddings) of these data objects. Within Weaviate you can mix traditional, scalar search filters with vector search filters through its GraphQL-API.
Weaviate modules can be used to -among other things- vectorize the data objects you add to Weaviate. In this demo, the text2vec-openai module is used to vectorize all data using OpenAI's Babbage model.
You can read about Weaviate in more detail in the software docs.
This dataset contains descriptions of 34,886 movies from around the world. The dataset is taken from Kaggle.
Before running this setup, make sure you have an OpenAPI ready, you can create one here.
$ export OPENAI_APIKEY=YOUR_API_KEY
Run the container:
$ docker-compose up -d
After the container starts up, you can import the data by running:
# Install the Weaviate Python client
$ pip3 install -r requirements.txt
# Import the data with the format `./import.py {URL} {OPENAI RATE LIMIT}`
$ ./import.py http://localhost:8080 550
Note: because the OpenAI API comes with a rate limit, we have taken this into account for this demo dataset. If you work with your own dataset and you've requested an increase/removal of your rate limit, you can increase the import speed. You can read here how to do this.
You can query the data via the GraphQL interface that's available in the Weaviate Console (under "Self Hosted Weaviate").
Or you can test the example queries below.
Learn how to use the Get{} function of the Weaviate GraphQL-API here.
{
Get {
Movie(
nearText: {
concepts: ["Movie about Venice"]
}
where: {
path: ["year"]
operator: LessThan
valueInt: 1950
}
limit: 5
) {
title
plot
year
director {
... on Director {
name
}
}
genre {
... on Genre {
name
}
}
}
}
}
Selected from shared topics, language and repository description—not editorial ratings.
peterw /
This repository contains two Python scripts that demonstrate how to create a chatbot using Streamlit, OpenAI GPT-3.5-turbo, and Activeloop's Deep Lake.
83/100 healthThis repository contains the code and other resources used in OpenAI GPT for Python Developers (2nd Edition)
46/100 healthsulsoltanoff /
This repository contains a Telegram bot written in Python and integrated with the ChatGPT API. It allows users to interact with a virtual assistant by generating natural language responses. The bot is fully configurable, allowing users to customize the assistant to their preferences.
59/100 healthShubhanshuJha /
This repository contains an advanced Chat Bot project developed in Python, which utilizes OpenAI's GPT-3.5 architecture. It allows users to communicate with the bot via text or speech and generates answers based on user input. The project requires several Python libraries and an OpenAI API key.
55/100 healthAbhinav330 /
This GitHub repository contains a Python script for an AI Therapist Chatbot powered by OpenAI's GPT-3.5 Turbo model. The chatbot is designed to engage with users in a supportive and empathetic manner, providing responses to user queries and messages.
44/100 healthshamspias /
This repository contains a WhatsApp chatbot built with Flask and powered by OpenAI's GPT-3 and DALL-E-2 language models. The chatbot is able to understand and respond to natural language queries and provide helpful information. The chatbot can help in many area like customer service, providing news and answering frequently asked questions.
35/100 health