remove emoji before pinecone properly

Kaveen Kumarasinghe 2 years ago
parent b47d52f217
commit 7de071dbfd

@ -777,6 +777,7 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
new_prompt = (
f"\n'{user_displayname}': {new_prompt} <|endofstatement|>\n"
)
new_prompt = new_prompt.encode("ascii", "ignore").decode()
# print("Creating embedding for ", prompt)
# Print the current timestamp

@ -24,7 +24,7 @@ from models.openai_model import Model
from models.usage_service_model import UsageService
from models.env_service_model import EnvService
__version__ = "5.0"
__version__ = "5.0.1"
"""
The pinecone service is used to store and retrieve conversation embeddings.

Loading…
Cancel
Save