Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed code #206

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .env.sample

This file was deleted.

4 changes: 4 additions & 0 deletions .genaiscript/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# avoid merge issues and ignore files in diffs
*.json -diff merge=ours linguist-generated
*.jsonl -diff merge=ours linguist-generated
*.js -diff merge=ours linguist-generated
6 changes: 6 additions & 0 deletions .genaiscript/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
runs/
cache/
retrieval/
containers/
temp/
tests/
2 changes: 1 addition & 1 deletion chat_with_pdf/configs/deployment_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"ENV_NAME": "dev",
"TEST_FILE_PATH": "sample-request.json",
"ENDPOINT_NAME": "",
"ENDPOINT_NAME": "astdataaipf",
"ENDPOINT_DESC": "An online endpoint serving a flow for chat with pdf flow",
"DEPLOYMENT_DESC": "prompt flow deployment",
"PRIOR_DEPLOYMENT_NAME": "",
Expand Down
4 changes: 2 additions & 2 deletions chat_with_pdf/environment/env.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
EMBEDDING_MODEL_DEPLOYMENT_NAME: text-embedding-ada-002
CHAT_MODEL_DEPLOYMENT_NAME: gpt-35-turbo
CHAT_MODEL_DEPLOYMENT_NAME: chat4o
PROMPT_TOKEN_LIMIT: 3000
MAX_COMPLETION_TOKENS: 256
VERBOSE: false
CHUNK_SIZE: 1024
CHUNK_OVERLAP: 64
CHAT_COMPLETIONS_DEPLOYMENT_NAME: gpt-35-turbo
CHAT_COMPLETIONS_DEPLOYMENT_NAME: chat4o
2 changes: 1 addition & 1 deletion chat_with_pdf/experiment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ flow: flows/standard
connections:
- name: aoai
connection_type: AzureOpenAIConnection
api_base: https://demoopenaiexamples.openai.azure.com/
api_base: https://astdataaiaisvc.openai.azure.com/
api_version: 2023-07-01-preview
api_key: ${api_key}
api_type: azure
Expand Down
1 change: 1 addition & 0 deletions class_flows/flows/chat_basic/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
genaiscript.d.ts -diff merge=ours linguist-generated
Loading